OFFSET
1,1
COMMENTS
Analogous to A213356 with primes instead of lucky numbers.
Conjecture: this sequence is finite with the last term being a(98) = 373.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..98
MATHEMATICA
L = Table[2*i + 1, {i, 0, 2500}]; For[n = 2, n < Length[L], r = L[[n++]]; L = ReplacePart[L, Table[r*i -> Nothing, {i, 1, Length[L]/r}]]]; a = L[[Select[L, # <= Length[L] &]]]; nn=Length[a]; t=Rest[CoefficientList[Series[Product[(1+x^(a [[k]])), {k, nn}], {x, 0, nn*nn}], x]]; Flatten[Position[t, 0]] (* after Jean-François Alcover at A000959 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Amiram Eldar, Sep 28 2018
STATUS
approved