

A144466


Primes p such that the partition number of the pth prime is also a prime.


0




OFFSET

1,1


LINKS

Table of n, a(n) for n=1..6.


FORMULA

{ p in {A000040} : A000041(A000040(p)) in {A000040} }.


EXAMPLE

37 is in the sequence because the 37th prime is 157, the partition number of 157 is 80630964769 and 80630964769 is a prime.


MATHEMATICA

Flatten[Table[If[PrimeQ[PartitionsP[Prime[Prime[n]]]], Prime[n], {}], {n, 1, 2000}]]
Select[Prime[Range[260]], PrimeQ[PartitionsP[Prime[#]]]&] (* Harvey P. Dale, Nov 01 2011 *)


CROSSREFS

Cf. A038601.
Sequence in context: A189027 A061576 A221055 * A245061 A270587 A119448
Adjacent sequences: A144463 A144464 A144465 * A144467 A144468 A144469


KEYWORD

nonn,more


AUTHOR

Roger L. Bagula, Oct 09 2008


EXTENSIONS

Edited by Alois P. Heinz, Oct 26 2011


STATUS

approved



