OFFSET
1,1
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..366
MATHEMATICA
okQ[n_]:=PrimeQ[n+PartitionsQ[n]]; genno[x_]:=x+PartitionsQ[x]; genno/@Select[Range[30000], okQ] (* Harvey P. Dale, Jul 25 2009 *)
PROG
(PARI) P=prod(k=1, 1000, 1+x^k, 1+x*O(x^1000)); for(n=1, 1000, t=n+polcoeff(P, n); if(isprime(t), print1(t, ", "))) \\ Hagen von Eitzen, Jul 25 2009
(PARI) for(n=1, 1e3, if(isprime(t=n+numbpart(n)), print1(t", "))) \\ Charles R Greathouse IV, Feb 15 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Jonathan Vos Post, Aug 07 2006, Aug 09 2006
EXTENSIONS
Terms following 3313 filled in, and all subsequent terms corrected, by Harvey P. Dale, Hagen von Eitzen and Ray Chandler, Jul 25 2009
Edited by N. J. A. Sloane, Aug 17 2009
STATUS
approved