OFFSET
0,5
COMMENTS
Number of compositions (ordered partitions) into perfect powers (A001597).
LINKS
Eric Weisstein's World of Mathematics, Perfect Powers
FORMULA
G.f.: 1/(1 - Sum_{k = i^j, i>=1, j>=2} x^k).
a(n) ~ c / r^n, where r = 0.68816189979082638501485812136220175833447947220530020978433949588627... and c = 0.4267808681995359684192168334905096310027880655306734537865362460298... . - Vaclav Kotesovec, Feb 17 2017
EXAMPLE
a(7) = 5 because we have [4, 1, 1, 1], [1, 4, 1, 1], [1, 1, 4, 1], [1, 1, 1, 4] and [1, 1, 1, 1, 1, 1, 1].
MATHEMATICA
nmax = 95; CoefficientList[Series[1/ (1 - x - Sum[Boole[GCD @@ FactorInteger[k][[All, 2]] > 1] x^k, {k, 2, nmax}]), {x, 0, nmax}], x]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Feb 16 2017
STATUS
approved