OFFSET
1,1
COMMENTS
Apart from initial term 2, same as A002145 (primes of the form 4k+3).
Primes not in A002144. - Juri-Stepan Gerasimov, Oct 16 2010
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)
FORMULA
a(n) ~ 2n log n. - Charles R Greathouse IV, Dec 11 2016
MATHEMATICA
Select[Prime[Range[120]], MemberQ[{2, 3}, Mod[#, 4]] &] (* Vladimir Joseph Stephan Orlovsky, Feb 18 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(740) | p mod 4 in [2, 3]] // Vincenzo Librandi, Dec 18 2010
(PARI) is(n)=n%4>1 && isprime(n) \\ Charles R Greathouse IV, Dec 11 2016
(Python)
from itertools import count, islice
from sympy import prime
def A045326_gen(): # generator of terms
return filter(lambda n:n>>1&1, map(prime, count(1)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved