OFFSET
1,4
COMMENTS
a(n) = 1 iff n is a partition number.
FORMULA
a(n) = A072871(n)/n.
EXAMPLE
For n = 4, a(4) = 14 because if 1<=k<=13 we have that 4*k is not a partition number, but if k = 14 then 4*14 = 56 and 56 is the number of partitions of 11.
MATHEMATICA
a[n_] := PartitionsP[NestWhile[(# + 1)&, 1, Mod[PartitionsP@ #, n] > 0 &]]/n; Array[a, 51] (* Giovanni Resta, Jan 15 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Jan 14 2014
STATUS
approved