%I #13 Sep 29 2019 11:39:55
%S 0,0,0,0,6,6,36,36,150,144,540,534,1806,1770,5790,5760,18150,17994,
%T 55980,55830,170970,170466,519156,518580,1569744,1567944,4733670,
%U 4732014,14250606,14244660,42850116,42844320,128746410,128728800
%N Number of primitive (aperiodic) palindromes using exactly 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]
%H Andrew Howroyd, <a href="/A056464/b056464.txt">Table of n, a(n) for n = 1..200</a>
%F a(n) = Sum_{d|n} mu(d)*A056454(n/d).
%p with(numtheory):with(combinat,stirling2):A056454:=n->3!*stirling2(floor((n+1)/2),3);A056464:=n->add(mobius(d)*A056454(n/d),d=divisors(n)); # C. Ronaldo
%Y Column 3 of A327873.
%Y Cf. A056454, A056459.
%K nonn
%O 1,5
%A _Marks R. Nester_