This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A058821 #13 Aug 13 2023 02:47:53 %S A058821 1,6,21,146,981,6222,38921,239946,1469826,8957976,54420339,329815506, %T A058821 1995387801,12056025246,72766743801,438839319470,2644790643216, %U A058821 15930973595046,95917737415956,577288174746786,3473350521083199,20892333943230346,125638899138654861 %N A058821 Dimensions of homogeneous subspaces of shuffle algebra over 6-letter alphabet (see A058766 for 2-letter case). %D A058821 M. Lothaire, Combinatorics on words, Cambridge mathematical library, 1983, p. 126 (definition of shuffle algebra). %F A058821 For n >= 2, a(n) = 6^n - (1/n) * Sum_{d|n} A008683(n/d) * 6^d. - _Sean A. Irvine_, Aug 28 2022 %F A058821 a(n) = 6^n - A032164(n) for n >= 2. - _Amiram Eldar_, Aug 13 2023 %t A058821 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 *) %Y A058821 Cf. A000400, A008683, A032164, A058766. %K A058821 nonn %O A058821 0,2 %A A058821 Claude Lenormand (claude.lenormand(AT)free.fr), Jan 04 2001 %E A058821 More terms from _Sean A. Irvine_, Aug 28 2022