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!)
A163167 a(n) = sum_{d | phi(n)} mu( phi(d) ) * phi(n)/d, where phi = A000010. 2
1, 1, 3, 3, 5, 3, 6, 5, 6, 5, 15, 5, 9, 6, 10, 10, 20, 6, 21, 10, 9, 15, 36, 10, 25, 9, 21, 9, 41, 10, 30, 20, 25, 20, 18, 9, 33, 21, 18, 20, 50, 9, 51, 25, 18, 36, 72, 20, 51, 25, 40, 18, 65, 21, 50, 18, 33, 41, 87, 20, 45, 30, 33, 40, 36, 25, 75, 40, 61, 18, 120, 18, 66, 33, 50, 33 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
Fixed points are in A074701.
LINKS
FORMULA
a(n) = A289627(A000010(n)). - Antti Karttunen, Jul 17 2017
MAPLE
with(numtheory):
A163167:=proc(n)
local div:
div:=convert(divisors(phi(n)), list):
add( mobius(phi(d))*phi(n)/d, d=div) ;
end proc:
seq(A163167(n), n=1..120) ;
MATHEMATICA
Table[Sum[MoebiusMu[EulerPhi[d]] EulerPhi[n]/d, {d, Divisors[EulerPhi[n]]}], {n, 100}] (* Indranil Ghosh, Jul 17 2017 *)
PROG
(PARI) A163167(n) = sumdiv(eulerphi(n), d, moebius(eulerphi(d))*eulerphi(n)/d); \\ Antti Karttunen, Jul 17 2017
(PARI)
A289627(n) = sumdiv(n, d, moebius(eulerphi(d))*n/d);
A163167(n) = A289627(eulerphi(n)); \\ Antti Karttunen, Jul 17 2017
(Python)
from sympy import mobius, totient, divisors
def a(n):
tn = totient(n)
return sum(mobius(totient(d))*tn//d for d in divisors(tn))
print([a(n) for n in range(1, 51)]) # Indranil Ghosh, Jul 17 2017
CROSSREFS
Sequence in context: A046217 A057662 A015971 * A243729 A200810 A365710
KEYWORD
easy,nonn
AUTHOR
R. J. Mathar, Jul 22 2009
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 June 9 18:31 EDT 2024. Contains 373248 sequences. (Running on oeis4.)