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

A109561
a(n) = If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 7, Prime[n]]
0
199, 211, 317, 1381, 1759, 1913, 2161, 2503
OFFSET
0,1
MATHEMATICA
a = Flatten[Table[If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 7, Prime[n], {}], {n, 1, 400}]]
CROSSREFS
Cf. A001359.
Sequence in context: A151738 A128312 A106628 * A031930 A160342 A225575
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
STATUS
approved