OFFSET
1,3
COMMENTS
This is the number of partitions of the n-th prime p into distinct odd parts that are less than p.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
EXAMPLE
a(4)=4 because the fourth prime (7) can be written in four different ways {6+1, 5+2, 4+3, 1+2+4}.
MATHEMATICA
Table[PartitionsQ[Prime[n]] - 1, {n, 50}] (* G. C. Greubel, Oct 15 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, based on email from Anthony Doran, Nov 18 2006
STATUS
approved