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!)
A062956 a(n) = h(n^2) - h(n), where h(n) is the half-totient function (A023022). 1
2, 3, 8, 5, 18, 14, 24, 18, 50, 22, 72, 39, 56, 60, 128, 51, 162, 76, 120, 105, 242, 92, 240, 150, 234, 162, 392, 116, 450, 248, 320, 264, 408, 210, 648, 333, 456, 312, 800, 246, 882, 430, 528, 495, 1058, 376, 1008, 490, 800, 612, 1352, 477, 1080, 660, 1008 (list; graph; refs; listen; history; text; internal format)
OFFSET
3,1
LINKS
FORMULA
a(n) = (n-1)*A023022(n), n >= 3.
PROG
(PARI) h(n) = eulerphi(n)/2;
a(n) = h(n^2)-h(n);
CROSSREFS
Sequence in context: A072500 A208449 A346957 * A333375 A289667 A053650
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 22 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 May 12 20:41 EDT 2024. Contains 372494 sequences. (Running on oeis4.)