OFFSET
0,2
COMMENTS
If the group is changed to C_n we get A054627.
FORMULA
For formula see Maple code.
MAPLE
with(numtheory); f:=proc(n) local t1, d, m;
if n mod 2 = 0 then m:=n/2; t1:=3*2^(3*m);
else m:=(n-1)/2; t1:=2^(3*m+3); fi;
(1/2)*( (1/n) * add( phi(d)*2^(3*n/d), d in divisors(n)) + t1 );
end; # this assumes n>0
CROSSREFS
KEYWORD
nonn
AUTHOR
H. O. Pollak (hpollak(AT)adsight.com) and N. J. A. Sloane, Nov 21 2009
STATUS
approved