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

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