OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n=1..400
FORMULA
a(n) = t(prime(n), 0), t as defined in A079211.
MATHEMATICA
a[n_]:=PartitionsQ[Prime[n]]; (* Vladimir Joseph Stephan Orlovsky, Dec 05 2008 *)
PROG
(PARI) q(n) = polcoeff(prod(k=1, n, 1+x^k, 1+x*O(x^n)), n) for(n=1, 50, print1(q(prime(n)), ", "))
(PARI) q(n)= { polcoeff(prod(k=1, n, 1 + x^k, 1 + x*O(x^n)), n) } { for (n = 1, 400, write("b064688.txt", n, " ", q(prime(n))) ) } \\ Harry J. Smith, Sep 22 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Oct 11 2001
STATUS
approved