Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #22 Apr 25 2020 01:16:04
%S 3,0,6,6,24,18,78,72,234,216,726,696,2184,2106,6528,6480,19680,19422,
%T 59046,58800,177060,176418,531438,530640,1594296,1592136,4782726,
%U 4780776,14348904,14342112,43046718,43040160,129139428,129120480,387420384,387400104,1162261464,1162202418,3486782208
%N Number of primitive (aperiodic) palindromes using a maximum of three different symbols.
%D 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 a(n) = Sum_{d | n} mu(d)*A056449(n/d).
%o (PARI) a(n) = sumdiv(n, d, moebius(d)*3^((1 + n/d)\2));
%o for(n=1, 40, print1(a(n), ",")); \\ _Petros Hadjicostas_, Apr 24 2020
%Y Cf. A056449.
%Y Column 3 of A284823.
%K nonn
%O 1,1
%A _Marks R. Nester_
%E More terms from _Petros Hadjicostas_, Apr 24 2020