OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..60
FORMULA
a(n) = Sum_{d|n} phi(n/d)*(7*d)!/(d!^7*7*n) if n>0 and a(0) = 1.
a(n) ~ 7^(7*n-1/2) / (8 * Pi^3 * n^4). - Vaclav Kotesovec, Aug 23 2015
EXAMPLE
a(0) = 1: the empty necklace.
a(1) = 720: {0123456, 0123465, ..., 0654321}.
MAPLE
with(numtheory):
a:= n-> `if`(n=0, 1, add(phi(n/d) *(7*d)!/(d!^7 *7*n), d=divisors(n))):
seq(a(n), n=0..12);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 24 2012
STATUS
approved