OFFSET
1,1
LINKS
Kevin P. Thompson, Table of n, a(n) for n = 1..113 (terms < 10^10 with terms 1..94 from Giovanni Resta)
EXAMPLE
a(1) = 729 = 3^6 and 729 is lucky, i.e., A000959(118) = 729.
MATHEMATICA
t = 2 Range@ 10000000 - 1; f[n_] := Block[{k = t[[n]]}, t = Delete[t, Table[{k}, {k, k, Length@t, k}]]]; Do[f@n, {n, 2, 1000000}]; fQ[n_] := ! IntegerQ@ Log[2, n] && GCD @@ Last /@ FactorInteger@n > 2; Select[t, fQ] (* Robert G. Wilson v, Oct 16 2010 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Walter Kehowski, Jun 07 2008
EXTENSIONS
a(16)-a(28) from Robert G. Wilson v, Oct 16 2010
STATUS
approved