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

A031378
a(n) = prime(4*n - 2).
3
3, 13, 29, 43, 61, 79, 101, 113, 139, 163, 181, 199, 229, 251, 271, 293, 317, 349, 373, 397, 421, 443, 463, 491, 521, 557, 577, 601, 619, 647, 673, 701, 733, 757, 787, 821, 839, 863, 887, 929, 953, 983, 1013, 1033, 1061, 1091, 1109, 1151, 1181
OFFSET
1,1
COMMENTS
A subsequence (more precisely, every other term) of A031215, subsequence of A007821 which is the complement of A006450 in the primes A000040. - M. F. Hasler, Oct 19 2013
LINKS
FORMULA
A031378(n) = A031215(2n-1) = A000040(2(2n-1)). - M. F. Hasler, Oct 19 2013
MATHEMATICA
Prime[4*Range[50]-2] (* Harvey P. Dale, Jun 03 2014 *)
PROG
(Magma) [ NthPrime(4*n-2): n in [1..1000] ]; // Vincenzo Librandi, Apr 11 2011
(PARI) A031378=n->prime(n*4-2) \\ M. F. Hasler, Oct 19 2013
CROSSREFS
Sequence in context: A041035 A042269 A049043 * A144391 A024836 A227541
KEYWORD
nonn
AUTHOR
STATUS
approved