The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A133944 Sum mu(k), where the sum is over the integers k which are the "non-isolated divisors" of n and mu(k) is the Moebius function (mu(k) = A008683(k)). A positive divisor, k, of n is non-isolated if (k-1) or (k+1) also divides n. 2
0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, 0, -1, 0, 0, 0, -1, 0, -1, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,132
LINKS
FORMULA
A133943(n) = -a(n), for n >= 2.
MAPLE
A133944 := proc(n) local divs, k, i, a ; divs := convert(numtheory[divisors](n), list) ; a := 0 ; for i from 1 to nops(divs) do k := op(i, divs) ; if k-1 in divs or k+1 in divs then a := a+numtheory[mobius](k) ; fi ; od: RETURN(a) ; end: seq(A133944(n), n=1..120) ; # R. J. Mathar, Oct 21 2007
PROG
(PARI) A133944(n) = sumdiv(n, d, (!if((1==d), (n%2), (n%(d-1))&&(n%(d+1))))*moebius(d)); \\ Antti Karttunen, Sep 02 2018
CROSSREFS
Cf. A133943.
Sequence in context: A172051 A093958 A044936 * A210455 A294936 A296210
KEYWORD
sign
AUTHOR
Leroy Quet, Sep 30 2007
EXTENSIONS
More terms from R. J. Mathar, Oct 21 2007
STATUS
approved

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 May 19 03:20 EDT 2024. Contains 372666 sequences. (Running on oeis4.)