OFFSET
1,6
COMMENTS
a(n) depends only on prime signature of n (cf. A025487). So a(24) = a(375) since 24 = 2^3*3 and 375 = 3*5^3 both have prime signature (3,1).
LINKS
R. J. Mathar, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
From R. J. Mathar, May 25 2017: (Start)
a(p) = 1: factorizations p.
a(p^2) = 1: factorizations p*p.
a(p^3) = 2: factorizations p^3, p*p*p.
a(p^4) = 3: factorizations p^3*p, p*p^3, p*p*p*p.
a(p^5) = 5: factorizations p^5, p^3*p*p, p*p^3*p, p*p*p^3, p*p*p*p*p.
a(p*q) = 2: factorizations p*q, q*p. (End)
MAPLE
read(transforms):
A066829m := proc(n)
if n = 1 or isA026424(n) then
1;
else
0;
end if;
end proc:
[1, seq(-A066829m(n), n=2..10000)] ;
DIRICHLETi(%) ; # R. J. Mathar, May 25 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Christian G. Bower, Oct 15 1999
STATUS
approved