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!)
A061884 a(n) = Sum_{ d | n } phi(lcm(d,n/d)), where phi(n) = Euler totient A000010. 4
1, 2, 4, 5, 8, 8, 12, 12, 14, 16, 20, 20, 24, 24, 32, 26, 32, 28, 36, 40, 48, 40, 44, 48, 44, 48, 48, 60, 56, 64, 60, 56, 80, 64, 96, 70, 72, 72, 96, 96, 80, 96, 84, 100, 112, 88, 92, 104, 90, 88, 128, 120, 104, 96, 160, 144, 144, 112, 116, 160, 120, 120, 168, 116, 192 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MAPLE
A061884 := proc(n) local b, d: b := 0; for d from 1 to n do if irem(n, d)=0 then b := b+phi(lcm(d, n/d)); fi; od; RETURN(b); end:
MATHEMATICA
Table[Plus @@ Map[ EulerPhi[LCM[ #, n/# ]] &, Select[ Range@n, (Mod[n, # ] == 0) &]], {n, 65}] (* Robert G. Wilson v, Sep 30 2006 *)
PROG
(PARI) a(n)=sumdiv(n, d, eulerphi(lcm(d, n/d))) \\ Charles R Greathouse IV, Feb 21 2013
CROSSREFS
Sequence in context: A331376 A369601 A345426 * A286002 A029935 A317625
KEYWORD
easy,nonn
AUTHOR
Vladeta Jovovic, May 12 2001
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 26 14:11 EDT 2024. Contains 373718 sequences. (Running on oeis4.)