OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
189 is included since 189 is lucky and 189 = 3*3*3*7 has prime factors that are all lucky.
MATHEMATICA
L = Table[2*i + 1, {i, 0, 362}]; For[n = 2, n < Length[L], r = L[[n++]]; L = ReplacePart[L, Table[r*i -> Nothing, {i, 1, Length[L]/r}]]]; Select[L, ContainsOnly[First/@FactorInteger[#], L]&] (* James C. McMahon, Sep 19 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Adam Panagos (adam.panagos(AT)gmail.com), May 10 2006
STATUS
approved