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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A087802 Sum(mu(d): d nonprime divisor of n), mu=A008683. 2
1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 3, 1, 2, 2, 1, 2, 3, 1, 2, 2, 3, 1, 2, 1, 2, 2, 2, 2, 3, 1, 2, 1, 2, 1, 3, 2, 2, 2, 2, 1, 3, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 1, 3 (list; graph; refs; listen; history; internal format)
OFFSET

1,6

COMMENTS

A064372 and this sequence first differ at term 64: A064372(64)=2 and a(64)=1. - Rick L. Shepherd (rshepherd2(AT)hotmail.com), Mar 07 2004

FORMULA

a(n) = if n=1 then 1 else A001221(n). - Vladeta Jovovic (vladeta(AT)eunet.rs), Oct 17 2003

EXAMPLE

Divisors of n=42: {1,2,3,6,7,14,21,42}, a(42) = mu(1)+mu(6)+mu(14)+mu(21)+mu(42) = 1+1+1+1-1 = 3.

PROG

(PARI) A087802(n) = sumdiv(n, d, if(!isprime(d), moebius(d)))

CROSSREFS

Cf. A023890, A033273. Different from A079553.

Sequence in context: A125029 A062893 A158210 * A079553 A001221 A064372

Adjacent sequences:  A087799 A087800 A087801 * A087803 A087804 A087805

KEYWORD

nonn

AUTHOR

Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Oct 11 2003

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 February 15 14:20 EST 2012. Contains 205811 sequences.