login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A109568
a(n) = If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 14, Prime[n]]
0
1327, 31907, 35677, 40289, 40639, 43801, 79699, 82073, 85933, 102701
OFFSET
0,1
MATHEMATICA
a = Flatten[Table[If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 14, Prime[n], {}], {n, 1, 10000}]]
CROSSREFS
Cf. A001359.
Sequence in context: A122390 A075038 A082889 * A235234 A250873 A205091
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
STATUS
approved