Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A064179
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A064179 Infinitary version of Moebius function: Infinitary_MoebiusMu of n, equal to mu(n) iff mu(n) differs from zero, else 1 or -1 depending on the sum of the binary digits of the exponents in the prime decomposition of n being even or odd. +0
5
1, -1, -1, -1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, 1, -1, 1, 1, -1, -1, -1, -1, 1, 1, 1, -1, 1, -1, 1, 1, 1, -1, -1, 1, -1, 1, 1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, -1, -1, -1, 1, 1, 1, 1, -1, -1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, -1, 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, -1, -1, -1 (list; graph; listen)
OFFSET

1,1

EXAMPLE

mu[45]=0 but iMoebiusMu[45]=1 because 45 = 3^2 * 5^1 and the binary digits of 2 and 1 add up to 2, an even number.

MATHEMATICA

iMoebiusMu[n_] := Switch[MoebiusMu[n], 1, 1, -1, -1, 0, If[OddQ[Plus@@(DigitCount[Last[Transpose[FactorInteger[n]]], 2, 1])], -1, 1]];

The Moebius inversion formula seems to hold for iMoebiusMu and the infinitary_divisors of n: if g[ n_ ] := Plus@@(f/@iDivisors[ n ]) for all n, then f[ n_ ]===Plus@@(iMoebiusMu[ # ]g[ n/# ])/@iDivisors[ n ])

PROGRAM

(PARI) {a(n) = local(A, p, e); if( n<1, 0, A = factor(n); prod(k=1, matsize(A)[1], if(p = A[k, 1], e = A[k, 2]; (-1) ^ subst(Pol( binary(e)), x, 1))))} /* Michael Somos Jan 08 2008 */

CROSSREFS

Cf. A064175, A064176, A000028, A000379.

Adjacent sequences: A064176 A064177 A064178 this_sequence A064180 A064181 A064182

Sequence in context: A114523 A000012 A008836 this_sequence A106400 A112865 A121241

KEYWORD

sign

AUTHOR

Wouter Meeussen (wouter.meeussen(AT)pandora.be), Sep 20 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 May 16 23:01 EDT 2008. Contains 139884 sequences.


AT&T Labs Research