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!)
A077088 a(n) = phi(sigma(n) - phi(n)), where phi is Euler's totient function and sigma is the sum of divisors function, with a(1) = 0. 2
0, 1, 1, 4, 1, 4, 1, 10, 6, 6, 1, 8, 1, 6, 8, 22, 1, 20, 1, 16, 8, 12, 1, 24, 10, 8, 10, 20, 1, 32, 1, 46, 12, 18, 8, 78, 1, 12, 16, 36, 1, 24, 1, 32, 18, 20, 1, 36, 8, 72, 16, 36, 1, 32, 16, 32, 20, 30, 1, 72, 1, 20, 32, 72, 12, 60, 1, 46, 24, 32, 1, 108, 1, 24, 24, 48, 12, 48, 1, 60 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
COMMENTS
a(p) = 1 for p prime. Otherwise a(n) is even.
LINKS
FORMULA
a(1) = 0; and for n > 1, a(n) = A000010(A051612(n)).
EXAMPLE
a(10) = 6 because sigma(10) = 18 and phi(10) = 4, and so phi(18 - 4) = phi(14) = 6.
a(11) = 1 because sigma(11) = 12 and phi(11) = 10, so phi(12 - 10) = phi(2) = 1.
a(12) = 8 because sigma(12) = 28 and phi(12) = 4, so phi(28 - 4) = phi(24) = 8.
MAPLE
with(numtheory); A077088:=n->phi(sigma(n)-phi(n)); seq(A077088(n), n=1..100); # Wesley Ivan Hurt, Dec 02 2013
MATHEMATICA
Table[EulerPhi[DivisorSigma[1, n] - EulerPhi[n]], {n, 100}] (* Alonso del Arte, Nov 29 2013 *)
PROG
(PARI) A077088(n) = if(1==n, 0, eulerphi(sigma(n) - eulerphi(n))); \\ Antti Karttunen, Mar 04 2018
(GAP) List([1..100], n->Phi(Sigma(n)-Phi(n))); # Muniru A Asiru, Mar 04 2018
CROSSREFS
Cf. A000010, A000203, A051612, A065387. See iterations in A077090-A077100.
Sequence in context: A354969 A050338 A301598 * A348971 A358821 A297420
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, Nov 04 2002
EXTENSIONS
Value of a(1) clarified by Antti Karttunen, Mar 04 2018
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 April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)