login
A168580
a(n) = (n-th prime > 3) minus 3*n.
1
2, 1, 2, 1, 2, 1, 2, 5, 4, 7, 8, 7, 8, 11, 14, 13, 16, 17, 16, 19, 20, 23, 28, 29, 28, 29, 28, 29, 40, 41, 44, 43, 50, 49, 52, 55, 56, 59, 62, 61, 68, 67, 68, 67, 76, 85, 86, 85, 86, 89, 88, 95, 98, 101, 104, 103, 106, 107, 106, 113, 124, 125, 124, 125, 136, 139, 146, 145, 146, 149
OFFSET
1,1
LINKS
MATHEMATICA
Table[Prime[n + 2] - 3*n, {n, 1, 50}] (* G. C. Greubel, Jul 26 2016 *)
CROSSREFS
Cf. A000040.
Sequence in context: A114228 A230287 A336336 * A356206 A318707 A363228
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Formula and entries corrected by R. J. Mathar, May 02 2010
STATUS
approved