OFFSET
1,3
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..14572 (terms 1..5000 from Alois P. Heinz)
FORMULA
G.f.: Sum_{m>0} x^(2*m-1)/(1-x^(2*m-1))/Product_{m>0} (1-x^(2*m)).
MAPLE
b:= proc(n, i, t) option remember; `if`(n=0, `if`(t, 1, 0),
`if`(i<1, 0, add(b(n-i*j, i-1, t or j>0 and i::odd),
j=0..`if`(t and i::odd, 0, n/i))))
end:
a:= n-> b(n$2, false):
seq(a(n), n=1..60); # Alois P. Heinz, Jun 30 2016
MATHEMATICA
first Needs["DiscreteMath`Combinatorica`"], then f[n_] := Count[ Plus @@@ Mod[ Union /@ Partitions[n], 2], 1]; Table[ f[n], {n, 1, 51}] (* Robert G. Wilson v, Feb 16 2004 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, Feb 12 2004
EXTENSIONS
More terms from Robert G. Wilson v, Feb 16 2004
STATUS
approved