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 A056268 #14 Mar 26 2022 12:45:35 %S A056268 0,0,6,36,150,534,1806,5760,18144,55830,171006,518580,1569750,4732014, %T A056268 14250450,42844320,128746950,386615376,1160688606,3483582660, %U A056268 10454059938,31368305694,94118013006,282378679920,847187946000,2541662931990,7625194813656,22875982414740 %N A056268 Number of primitive (aperiodic) words of length n which contain exactly three different symbols. %D A056268 M. R. Nester (1999). Mathematical investigations of some plant interaction designs. PhD Thesis. University of Queensland, Brisbane, Australia. [See A056391 for pdf file of Chap. 2] %F A056268 a(n) = Sum_{d|n} mu(d)*A001117(n/d). %o A056268 (PARI) f(n) = 3^n - 3*2^n + 3; %o A056268 a(n) = sumdiv(n, d, moebius(d)*f(n/d)); \\ _Michel Marcus_, Mar 25 2022 %Y A056268 Cf. A000244, A001117, A008683, A054718. %K A056268 nonn %O A056268 1,3 %A A056268 _Marks R. Nester_ %E A056268 a(11) and following corrected by _Georg Fischer_, Mar 24 2022