OFFSET
0,9
LINKS
FORMULA
a(m)=1 when m is cubefree (A004709) and a(m)<>1 when m is not cubefree (A046099). - Michel Marcus, Oct 29 2017
EXAMPLE
a(16) = 11 because 16 has 5 divisors {1, 2, 4, 8, 16} among which 2 are cubes {1, 8} therefore we have [8, 8], [8, 1, 1, 1, 1, 1, 1, 1, 1], [1, 8, 1, 1, 1, 1, 1, 1, 1], [1, 1, 8, 1, 1, 1, 1, 1, 1], [1, 1, 1, 8, 1, 1, 1, 1, 1], [1, 1, 1, 1, 8, 1, 1, 1, 1], [1, 1, 1, 1, 1, 8, 1, 1, 1], [1, 1, 1, 1, 1, 1, 8, 1, 1], [1, 1, 1, 1, 1, 1, 1, 8, 1], [1, 1, 1, 1, 1, 1, 1, 1, 8] and [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1].
MATHEMATICA
Table[SeriesCoefficient[1/(1 - Sum[Boole[Mod[n, k] == 0 && IntegerQ[k^(1/3)]] x^k, {k, 1, n}]), {x, 0, n}], {n, 0, 85}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 28 2017
STATUS
approved