A056459 Number of primitive (aperiodic) palindromes using a maximum of three different symbols.
3, 0, 6, 6, 24, 18, 78, 72, 234, 216, 726, 696, 2184, 2106, 6528, 6480, 19680, 19422, 59046, 58800, 177060, 176418, 531438, 530640, 1594296, 1592136, 4782726, 4780776, 14348904, 14342112, 43046718, 43040160, 129139428, 129120480, 387420384, 387400104, 1162261464, 1162202418, 3486782208
Offset: 1
Keywords
References
- 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]
Programs
-
PARI
a(n) = sumdiv(n, d, moebius(d)*3^((1 + n/d)\2)); for(n=1, 40, print1(a(n), ",")); \\ Petros Hadjicostas, Apr 24 2020
Formula
a(n) = Sum_{d | n} mu(d)*A056449(n/d).
Extensions
More terms from Petros Hadjicostas, Apr 24 2020