login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129667 Dirichlet inverse of the Abelian group count (A000688). 6

%I #17 Feb 17 2024 04:03:55

%S 1,-1,-1,-1,-1,1,-1,0,-1,1,-1,1,-1,1,1,0,-1,1,-1,1,1,1,-1,0,-1,1,0,1,

%T -1,-1,-1,1,1,1,1,1,-1,1,1,0,-1,-1,-1,1,1,1,-1,0,-1,1,1,1,-1,0,1,0,1,

%U 1,-1,-1,-1,1,1,0,1,-1,-1,1,1,-1,-1,0,-1,1,1,1,1,-1,-1,0,0,1,-1,-1,1,1,1,0,-1,-1,1,1,1,1,1,-1,-1,1,1,1,-1,-1,-1,0,-1,1,-1

%N Dirichlet inverse of the Abelian group count (A000688).

%C The simple formula which gives the value of this multiplicative function for the power of any prime can be derived from Euler's celebrated "Pentagonal Number Theorem" (applied to the generating function of the partition function A000041 on which A000688 is based).

%H R. J. Mathar, <a href="/A129667/b129667.txt">Table of n, a(n) for n = 1..1000</a>

%H Gérard P. Michon, <a href="http://www.numericana.com/answer/numbers.htm#multiplicative">Multiplicative Functions</a>.

%H Gérard P. Michon, <a href="http://www.numericana.com/answer/numbers.htm#partitions">Partition Function</a> and Pentagonal Numbers.

%F Multiplicative function for which a(p^e) either vanishes or is equal to (-1)^m, for any prime p, if e is either m(3m-1)/2 or m(3m+1)/2 (these integers are the pentagonal numbers of the first and second kind, A000326 and A005449).

%F Dirichlet g.f.: 1 / Product_{k>=1} zeta(k*s). - _Ilya Gutkovskiy_, Nov 06 2020

%F Sum_{k=1..n} abs(a(k)) ~ c * n, where c = Product_{p prime} ((1-1/p) * (1 + Sum_{m>=1} (1/p^(m*(3*m-1)/2) + 1/p^(m*(3*m+1)/2)))) = 0.85358290653064143678... . - _Amiram Eldar_, Feb 17 2024

%e a(8) and a(27) are zero because the sequence vanishes for the cubes of primes. Not so with fifth powers of primes (since 5 is a pentagonal number) so a(32) is nonzero.

%p A000326inv := proc(n)

%p local x,a ;

%p for x from 0 do

%p a := x*(3*x-1)/2 ;

%p if a > n then

%p return -1 ;

%p elif a = n then

%p return x;

%p end if;

%p end do:

%p end proc:

%p A005449inv := proc(n)

%p local x,a ;

%p for x from 0 do

%p a := x*(3*x+1)/2 ;

%p if a > n then

%p return -1 ;

%p elif a = n then

%p return x;

%p end if;

%p end do:

%p end proc:

%p A129667 := proc(n)

%p local a,e1,e2 ;

%p a := 1 ;

%p for pe in ifactors(n)[2] do

%p e1 := A000326inv(op(2,pe)) ;

%p e2 := A005449inv(op(2,pe)) ;

%p if e1 >= 0 then

%p a := a*(-1)^e1 ;

%p elif e2 >= 0 then

%p a := a*(-1)^e2 ;

%p else

%p a := 0 ;

%p end if;

%p end do:

%p a;

%p end proc: # _R. J. Mathar_, Nov 24 2017

%t a[n_] := a[n] = If[n == 1, 1, -Sum[FiniteAbelianGroupCount[n/d] a[d], {d, Most @ Divisors[n]}]];

%t Array[a, 100] (* _Jean-François Alcover_, Feb 16 2020 *)

%Y Cf. A000041, A000326, A000688, A005449, A023900, A101035.

%K mult,easy,sign

%O 1,1

%A _Gerard P. Michon_, Apr 28 2007, May 01 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 14 21:48 EDT 2024. Contains 375929 sequences. (Running on oeis4.)