login
A118755
Smallest prime >= 6*n.
1
2, 7, 13, 19, 29, 31, 37, 43, 53, 59, 61, 67, 73, 79, 89, 97, 97, 103, 109, 127, 127, 127, 137, 139, 149, 151, 157, 163, 173, 179, 181, 191, 193, 199, 211, 211, 223, 223, 229, 239, 241, 251, 257, 263, 269, 271, 277, 283, 293, 307, 307
OFFSET
0,1
FORMULA
a(n) = A007918(A008588(n)). - Michel Marcus, Feb 13 2021
MATHEMATICA
Prime[1+PrimePi[6Range[0, 50]]] (* T. D. Noe, Nov 15 2006 *)
NextPrime[6*Range[0, 50]] (* Harvey P. Dale, Sep 05 2015 *)
PROG
(PARI) a(n) = nextprime(6*n); \\ Michel Marcus, Feb 13 2021
CROSSREFS
A002476 is a subsequence.
Sequence in context: A140550 A271114 A138646 * A231383 A156012 A106011
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Apr 29 2006
EXTENSIONS
Corrected by T. D. Noe, Nov 15 2006
STATUS
approved