|
|
A320072
|
|
Number of length n primitive (=aperiodic or period n) 7-ary words which are earlier in lexicographic order than any other word derived by cyclic shifts of the alphabet.
|
|
4
|
|
|
1, 6, 48, 336, 2400, 16752, 117648, 823200, 5764752, 40351200, 282475248, 1977309600, 13841287200, 96888892752, 678223070400, 4747560686400, 33232930569600, 232630508205648, 1628413597910448, 11398895145019200, 79792266297494304, 558545863800808752
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Dirichlet convolution of mu(n) with 7^(n-1).
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{d|n} 7^(d-1) * mu(n/d).
a(n) = 7^(n-1) - Sum_{d<n,d|n} a(d).
|
|
MAPLE
|
a:= n-> add(`if`(d=n, 7^(n-1), -a(d)), d=numtheory[divisors](n)):
seq(a(n), n=1..25);
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|