|
|
A320071
|
|
Number of length n primitive (=aperiodic or period n) 6-ary words which are earlier in lexicographic order than any other word derived by cyclic shifts of the alphabet.
|
|
4
|
|
|
1, 5, 35, 210, 1295, 7735, 46655, 279720, 1679580, 10076395, 60466175, 362789070, 2176782335, 13060647355, 78364162765, 470184704640, 2821109907455, 16926657757380, 101559956668415, 609359729932590, 3656158440016285, 21936950579911675, 131621703842267135
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Dirichlet convolution of mu(n) with 6^(n-1).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{d|n} 6^(d-1) * mu(n/d).
a(n) = 6^(n-1) - Sum_{d<n,d|n} a(d).
|
|
MAPLE
|
a:= n-> add(`if`(d=n, 6^(n-1), -a(d)), d=numtheory[divisors](n)):
seq(a(n), n=1..25);
|
|
MATHEMATICA
|
nmax = 20; Rest[CoefficientList[Series[Sum[MoebiusMu[k] * x^k / (1 - 6*x^k), {k, 1, nmax}], {x, 0, nmax}], x]] (* Vaclav Kotesovec, Dec 11 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|