|
|
A320074
|
|
Number of length n primitive (=aperiodic or period n) 9-ary words which are earlier in lexicographic order than any other word derived by cyclic shifts of the alphabet.
|
|
4
|
|
|
1, 8, 80, 720, 6560, 58960, 531440, 4782240, 43046640, 387413920, 3486784400, 31380999840, 282429536480, 2541865296880, 22876792448320, 205891127311680, 1853020188851840, 16677181656560880, 150094635296999120, 1350851717285570880, 12157665459056397280
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Dirichlet convolution of mu(n) with 9^(n-1).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{d|n} 9^(d-1) * mu(n/d).
a(n) = 9^(n-1) - Sum_{d<n,d|n} a(d).
|
|
MAPLE
|
a:= n-> add(`if`(d=n, 9^(n-1), -a(d)), d=numtheory[divisors](n)):
seq(a(n), n=1..25);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|