OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..730
F. Ruskey, Necklaces, Lyndon words, De Bruijn sequences, etc. [Cached copy, with permission, pdf format only]
Eric Weisstein's World of Mathematics, Necklace
Wikipedia, Necklace (combinatorics)
FORMULA
a(n) = 1/(9*n) * Sum_{d|n} C(9*n/d,n/d) * A000010(d) for n>0, a(0) = 1.
a(n) ~ 9^(9*n-1/2) / (sqrt(2*Pi) * 8^(8*n+1/2) * n^(3/2)). - Vaclav Kotesovec, Aug 22 2015
MAPLE
with(numtheory):
a:= n-> `if`(n=0, 1, add(binomial(9*n/d, n/d)
*phi(d), d=divisors(n))/(9*n)):
seq(a(n), n=0..25);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 21 2015
STATUS
approved