OFFSET
0,6
LINKS
EXAMPLE
a(7) = 7 because we have [5, 2], [4, 3], [3, 4], [3, 2, 2], [2, 5], [2, 3, 2] and [2, 2, 3].
MAPLE
a:= proc(m) option remember; local b; b:= proc(n)
option remember; `if`(n=0, 1, add(`if`(
irem(m, j)=0, 0, b(n-j)), j=2..n)) end; b(m)
end:
seq(a(n), n=0..60); # Alois P. Heinz, Mar 11 2018
MATHEMATICA
Table[SeriesCoefficient[1/(1 - Sum[Boole[Mod[n, k] != 0] x^k, {k, 1, n}]), {x, 0, n}], {n, 0, 47}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 11 2018
STATUS
approved