OFFSET
1,4
COMMENTS
Pseudoprime A001567(n) is a pseudoprime to base 2 through base prime(a(n)), where a(n) is this sequence.
LINKS
Lei Zhou, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
p = 1; fi = {}; While[Length[fi] < 87, p = p + 2; If[! PrimeQ[p], ct = 0; q = 2; While[c = q^(p - 1); Mod[c, p] == 1, q = NextPrime[q]]; If[q > 2, q = PrimePi[NextPrime[q, -1]]; AppendTo[fi, q]]]]; Print[fi]
CROSSREFS
KEYWORD
nonn
AUTHOR
Lei Zhou, Feb 05 2014
STATUS
approved