OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
MATHEMATICA
Select[Table[If[Length[(f = FactorInteger[n])] > 1, f[[2, 1]], 1], {n, 1, 150}], # > 1 &]
PROG
(PARI) f(n) = a=factor(n); v=a[, 1]; ln=length(v); if(ln>1, return(v[2]));
g(m) = for(x=2, m, if(f(x)>0, print1(f(x)", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Cino Hilliard, Jan 14 2004
EXTENSIONS
Offset corrected by Amiram Eldar, Apr 12 2021
STATUS
approved