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

A163998
Primes p having the same parity as the number of partitions of p.
5
2, 3, 5, 7, 13, 17, 23, 29, 37, 41, 43, 53, 61, 67, 71, 73, 83, 89, 107, 127, 139, 157, 173, 181, 193, 199, 211, 223, 229, 233, 239, 251, 257, 263, 269, 277, 281, 283, 293, 311, 313, 331, 349, 367, 373, 389, 401, 421, 433, 443, 457, 461, 463, 467, 479, 491, 499
OFFSET
1,1
COMMENTS
Except the first term, primes with an odd number of partitions.
Primes in A194798. - Omar E. Pol, Mar 17 2012
EXAMPLE
7 is in the sequence because the number of partitions of 7 is equal to 15 and both 7 and 15 have the same parity.
MATHEMATICA
Select[Prime[Range[100]], Mod[PartitionsP[#] - #, 2] == 0 &] (* T. D. Noe, Jan 30 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Aug 09 2009
EXTENSIONS
More terms from D. S. McNeil, May 10 2010
STATUS
approved