login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A226177 a(n) = mu(n)*d(n), where mu(n) = A008683 and d(n) = A000005. 3
1, -2, -2, 0, -2, 4, -2, 0, 0, 4, -2, 0, -2, 4, 4, 0, -2, 0, -2, 0, 4, 4, -2, 0, 0, 4, 0, 0, -2, -8, -2, 0, 4, 4, 4, 0, -2, 4, 4, 0, -2, -8, -2, 0, 0, 4, -2, 0, 0, 0, 4, 0, -2, 0, 4, 0, 4, 4, -2, 0, -2, 4, 0, 0, 4, -8, -2, 0, 4, -8, -2, 0, -2, 4, 0, 0, 4, -8, -2, 0, 0, 4, -2, 0, 4, 4, 4, 0, -2, 0, 4, 0, 4, 4, 4, 0, -2, 0, 0, 0, -2, -8, -2, 0, -8 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The prime numbers are the only solutions to mu(n)*d(n) = -2.

Multiplicative with a(p) = -2, a(p^e) = 0, e > 1.

If n is semiprime, then a(n) = 4 * ( ceiling(sqrt(n)) - floor(sqrt(n)) )

= ( ceiling(sqrt(n)) - floor(sqrt(n)) )*( ceiling(sqrt(n)) - floor(sqrt(n)) + 3 ) = 2 - 2*(-1)^( ceiling(sqrt(n)) - floor(sqrt(n)) ).

The Moebius inverse is A076479, and the Dirichlet inverse A061142. - R. J. Mathar, Jun 03 2013

LINKS

Antti Karttunen, Table of n, a(n) for n = 1..10000

Index entries for sequences computed from exponents in factorization of n

FORMULA

a(n) = mu(n)*d(n) = A008683(n)*A000005(n).

Sum_{n>0} a(n)/n^s = Product_{p prime} (1 - 2p^(-s)). - Ralf Stephan, Jul 07 2013

a(n) = mu(n) * 2^omega(n) = |mu(n)| * (-2)^omega(n), where omega = A001221. - Álvar Ibeas, Dec 30 2018

EXAMPLE

a(5) = mu(5)*d(5) = (-1)(2) = -2.

MAPLE

with(numtheory); a:=n->mobius(n)*tau(n); seq(a(k), k=1..100);

MATHEMATICA

Table[MoebiusMu[n] DivisorSigma[0, n], {n, 105}] (* Michael De Vlieger, Jul 23 2017 *)

PROG

(PARI) A226177(n) = moebius(n)*numdiv(n); \\ Antti Karttunen, Jul 23 2017

(Scheme) (define (A226177 n) (if (= 1 n) n (* (if (= 1 (A067029 n)) -2 0) (A226177 (A028234 n))))) ;; Antti Karttunen, Jul 23 2017

CROSSREFS

A000005, A000040, A001358, A008683, A074823 (absolute values), A001221.

Sequence in context: A259761 A171933 A074823 * A159916 A159286 A261277

Adjacent sequences:  A226174 A226175 A226176 * A226178 A226179 A226180

KEYWORD

sign,mult

AUTHOR

Wesley Ivan Hurt, May 29 2013

EXTENSIONS

More terms from Antti Karttunen, Jul 23 2017

Name changed by David A. Corneth, Jul 23 2017

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 18 17:51 EDT 2019. Contains 321292 sequences. (Running on oeis4.)