OFFSET
0,4
COMMENTS
a(0) = 1 by convention, as in A000009.
Without the restriction that the parts be distinct, the terms a(n) would be infinite: e.g. 5 = 5 + any number of copies of (1+2+3+4).
EXAMPLE
a(6) = 7: 6 = 6+5+4+1 = 6+5+3+2 = 6+4+3+2+1 = 5+1 = 4+2 = 3+2+1.
a(7) = 13: 7 = 6+1 = 5+2 = 4+3 = 4+2+1 = 7+6+4 = 7+6+3+1 = 7+5+4+1 = 7+5+3+2 = 7+4+3+2+1 = 6+5+4+2 = 6+5+3+2+1 = 7+6+5+4+3+2.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Missing initial a(0)=1 value inserted by Marc LeBrun, Oct 26 2010
STATUS
approved