login
A109560
a(n) = If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 6, Prime[n]]
0
89, 139, 181, 241, 467, 509, 619, 773, 839, 863, 953, 1409, 1831, 1847, 1933, 2113, 2221, 2251, 2593
OFFSET
0,1
MATHEMATICA
a = Flatten[Table[If[Floor[2*Mod[(Prime[n + 1] - Prime[n])*PrimePi[n]/n, 8]] == 6, Prime[n], {}], {n, 1, 400}]]
CROSSREFS
Cf. A001359.
Sequence in context: A256242 A377012 A360422 * A260557 A141938 A267819
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
STATUS
approved