login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A058821
Dimensions of homogeneous subspaces of shuffle algebra over 6-letter alphabet (see A058766 for 2-letter case).
0
1, 6, 21, 146, 981, 6222, 38921, 239946, 1469826, 8957976, 54420339, 329815506, 1995387801, 12056025246, 72766743801, 438839319470, 2644790643216, 15930973595046, 95917737415956, 577288174746786, 3473350521083199, 20892333943230346, 125638899138654861
OFFSET
0,2
REFERENCES
M. Lothaire, Combinatorics on words, Cambridge mathematical library, 1983, p. 126 (definition of shuffle algebra).
FORMULA
For n >= 2, a(n) = 6^n - (1/n) * Sum_{d|n} A008683(n/d) * 6^d. - Sean A. Irvine, Aug 28 2022
a(n) = 6^n - A032164(n) for n >= 2. - Amiram Eldar, Aug 13 2023
MATHEMATICA
a[n_] := 6^n - DivisorSum[n, MoebiusMu[n/#] * 6^# &] / n; a[0] = 1; a[1] = 6; Array[a, 23, 0] (* Amiram Eldar, Aug 13 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Claude Lenormand (claude.lenormand(AT)free.fr), Jan 04 2001
EXTENSIONS
More terms from Sean A. Irvine, Aug 28 2022
STATUS
approved