login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A109562
a(n) = If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 8, Prime[n]]
0
293, 1069, 1259, 1637, 2311, 2557
OFFSET
0,1
MATHEMATICA
a = Flatten[Table[If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 8, Prime[n], {}], {n, 1, 400}]]
CROSSREFS
Cf. A001359.
Sequence in context: A142558 A251674 A217182 * A023305 A109182 A342874
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
STATUS
approved