function x=primzahlen(n) x=[]; for i=2:n if primzahl(i)==1 x(end+1)=i; end end x=x'; end