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”).
%I #17 Sep 08 2022 08:44:50
%S 3,13,29,43,61,79,101,113,139,163,181,199,229,251,271,293,317,349,373,
%T 397,421,443,463,491,521,557,577,601,619,647,673,701,733,757,787,821,
%U 839,863,887,929,953,983,1013,1033,1061,1091,1109,1151,1181
%N a(n) = prime(4*n - 2).
%C 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
%H Ivan Panchenko, <a href="/A031378/b031378.txt">Table of n, a(n) for n = 1..1000</a>
%F A031378(n) = A031215(2n-1) = A000040(2(2n-1)). - _M. F. Hasler_, Oct 19 2013
%t Prime[4*Range[50]-2] (* _Harvey P. Dale_, Jun 03 2014 *)
%o (Magma) [ NthPrime(4*n-2): n in [1..1000] ]; // _Vincenzo Librandi_, Apr 11 2011
%o (PARI) A031378=n->prime(n*4-2) \\ _M. F. Hasler_, Oct 19 2013
%K nonn
%O 1,1
%A _Jeff Burch_