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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046660 Excess of n = number of primes divisors (with multiplicity) - number of prime divisors (without multiplicity). 23
0, 0, 0, 1, 0, 0, 0, 2, 1, 0, 0, 1, 0, 0, 0, 3, 0, 1, 0, 1, 0, 0, 0, 2, 1, 0, 2, 1, 0, 0, 0, 4, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 1, 1, 0, 0, 3, 1, 1, 0, 1, 0, 2, 0, 2, 0, 0, 0, 1, 0, 0, 1, 5, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 1, 1, 0, 0, 0, 3, 3, 0, 0, 1, 0, 0, 0, 2, 0, 1, 0, 1, 0, 0, 0, 4, 0, 1, 1, 2, 0, 0, 0, 2, 0, 0, 0, 3, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,8

COMMENTS

a(n) depends only on prime signature of n (cf. A025487). So a(24) = a(375) since 24=2^3*3 and 375=3*5^3 both have prime signature (3,1).

a(n) = 0 for squarefree n.

A162511(n) = (-1)^a(n). [From Reinhard Zumkeller, Jul 08 2009]

a(n) = the number of divisors of n that are each a composite power of a prime. [From Leroy Quet, Dec 02 2009]

REFERENCES

M. Kac, Statistical Independence in Probability, Analysis and Number Theory, Carus Monograph 12, Math. Assoc. Amer., 1959, see p. 64.

LINKS

Charles R Greathouse IV, Table of n, a(n) for n = 1..10000

FORMULA

a(n) = Omega(n) - omega(n) = A001222(n) - A001221(n).

Additive with a(p^e) = e - 1.

a(n) = sum(A124010(n,k)-1: k=1..A001221(n)). - Reinhard Zumkeller, Jan 09 2013

MATHEMATICA

Table[PrimeOmega[n]-PrimeNu[n], {n, 50}] (* or *) muf[n_]:=Module[{fi=FactorInteger[n]}, Total[Transpose[fi][[2]]]-Length[fi]]; Array[muf, 50](* From Harvey P. Dale, Sep 07 2011 *)(* The second program is several times faster than the first program for generating large numbers of terms *)

PROG

(PARI) a(n)=bigomega(n)-omega(n) \\ Charles R Greathouse IV, Nov 14 2012

(Haskell)

a046660 1 = 0

a046660 n = sum $ map (subtract 1) $ a124010_row n

-- Reinhard Zumkeller, Jan 09 2013

CROSSREFS

Cf. A001222, A001221. Not the same as A066301.

Sequence in context: A081221 A103840 A066301 * A183094 A108730 A056973

Adjacent sequences:  A046657 A046658 A046659 * A046661 A046662 A046663

KEYWORD

nonn,easy,nice,changed

AUTHOR

N. J. A. Sloane.

EXTENSIONS

More terms from David W. Wilson.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified May 25 23:30 EDT 2013. Contains 225649 sequences.