OFFSET
1,2
COMMENTS
a(n) = number of partitions of 2n that contain a partition of n.
EXAMPLE
a(3) counts these 6 representations of 0: 3-3, 3-2-1, 3-1-1-1, 2+1-2-1, 2+1-1-1-1, 1+1+1-1-1-1.
MATHEMATICA
p[n_] := p[n] = IntegerPartitions[n]; Map[({p1 = p[#], p2 = p[2 #]} &[#]; Length[Cases[p2, Apply[Alternatives, Map[Flatten[{___, #, ___}] &, p1]]]]) &, Range[12]]
Map[({p1 = p[# + 1], p2 = p[2 # + 1]} &[#]; Length[Cases[p2, Apply[Alternatives, Map[Flatten[{___, #, ___}] &, p1]]]]) &, Range[12]]
(* Peter J. C. Moses, Jan 04 2014 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Clark Kimberling, Jan 25 2014
STATUS
approved