OFFSET
1,1
COMMENTS
If any A001045(j) has a prime divisor p where p is the k-th prime for 1 <= j <= k, then k is a term of this sequence.
EXAMPLE
5 is a term because A001045(5) = 11 is divisible by 11.
PROG
(PARI) a001045(n) = (2^n - (-1)^n) / 3;
lista(nn) = for(n=1, nn, my(p = prime(n)); if (lift(prod(i=1, n, Mod(a001045(i), p))) == 0, print1(n, ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Apr 07 2016
STATUS
approved