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”).

A109567
a(n) = If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 13, Prime[n]]
0
15683, 28229, 45893, 48679, 59281, 60539, 74959, 86869, 100853
OFFSET
0,1
MATHEMATICA
a = Flatten[Table[If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 13, Prime[n], {}], {n, 1, 10000}]]
CROSSREFS
Cf. A001359.
Sequence in context: A165612 A206747 A075043 * A075050 A134121 A177949
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
STATUS
approved