Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A061020
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A061020 Negate primes in factorizations of divisors of n, then sum. +0
8
1, -1, -2, 3, -4, 2, -6, -5, 7, 4, -10, -6, -12, 6, 8, 11, -16, -7, -18, -12, 12, 10, -22, 10, 21, 12, -20, -18, -28, -8, -30, -21, 20, 16, 24, 21, -36, 18, 24, 20, -40, -12, -42, -30, -28, 22, -46, -22, 43, -21, 32, -36, -52, 20, 40, 30, 36, 28, -58, 24, -60, 30, -42, 43, 48, -20, -66, -48, 44, -24, -70, -35 (list; graph; listen)
OFFSET

1,3

COMMENT

Analog of sigma function A000203[n] with primes negated.

a(n)=sum( d divides n,d*mu(cored(d))) where core(x) is the smallest number such that x*core(x) is a square - Benoit Cloitre (benoit7848c(AT)orange.fr), Apr 07 2002

Unsigned sequence |a(n)| gives the number of numbers 1<=k<=n for which GCD(k,n) is a square. |a(n)| = Sum_{d divides n} d*(-1)^bigomega(n/d). - Vladeta Jovovic (vladeta(AT)Eunet.yu), Dec 29 2002

LINKS

T. D. Noe, Table of n, a(n) for n=1..10000

FORMULA

Replace each divisor d of n by A061019[d] and sum. Replace p^q with (1-(-p)^(q+1))/(1+p) in prime factorization of n.

Inverse mobius transform of A061019. In other words a(n) = Sum_{d divides n} d*(-1)^bigomega(d), where bigomega(n) = A001222(n).

G.f.: A(x) = sum_{k>=1} lambda(k) k x^k/(1 - x^k) where lambda(k) is the Liouville function, A008836 - Stuart Clary (clary(AT)uakron.edu), Apr 15, 2006

G.f.: A(x) is x times the logarithmic derivative of A118206(x). - Stuart Clary (clary(AT)uakron.edu), Apr 15, 2006

Dirichlet g.f.: zeta(s)*zeta(2 s - 2)/zeta(s - 1) - Stuart Clary (clary(AT)uakron.edu), Apr 15, 2006

EXAMPLE

a(12) = 1-2-3+4+6-12 = (1-2+4)*(1-3) = -6.

MATHEMATICA

nmax = 72; lambda[k_Integer?Positive] := If[ k > 1, (-1)^Total[ Part[Transpose[FactorInteger[k]], 2] ], 1 ]; Drop[ CoefficientList[ Series[ Sum[ lambda[k] k x^k/(1 - x^k), {k, 1, nmax} ], {x, 0, nmax} ], x ], 1 ] - Stuart Clary (clary(AT)uakron.edu), Apr 15, 2006

PROGRAM

(PARI) for(n=1, 100, print1(sumdiv(n, d, (d)*moebius(core(d))), ", "))

(PARI) a(n)=if(n<1, 0, direuler(p=2, n, 1/(1-X)/(1+p*X))[n]) (from R. Stephan)

CROSSREFS

Cf. A000203, A061019, A076792.

Adjacent sequences: A061017 A061018 A061019 this_sequence A061021 A061022 A061023

Sequence in context: A117744 A091732 A109746 this_sequence A047994 A117009 A103300

KEYWORD

easy,sign,mult,mult

AUTHOR

Marc LeBrun (mlb(AT)well.com), Apr 13 2001

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 12 15:26 EDT 2008. Contains 144830 sequences.


AT&T Labs Research