The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A066939 Numbers n such that phi(phi(n)) + sigma(sigma(n)) - phi(sigma(n)) - sigma(phi(n)) = phi(n) + sigma(n). 2
 13954, 106899, 307835, 783201, 979731, 2980255, 9266817, 18479215, 49062925, 109044425, 114029313, 120914101, 185480686, 218223299, 347941741, 429365395, 466423743, 492508289, 610803875, 895938847, 993189741, 1093958383 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE For n = 13954, phi(phi(n)) + sigma(sigma(n)) - phi(sigma(n)) - sigma(phi(n)) = phi(6976) + sigma(20934) - phi(20934) - sigma(6976) = 3456 + 45396 - 6972 - 13970 = 27910 = 6976 + 20934 = phi(n) + sigma(n), so 13954 is in the sequence. MATHEMATICA g[x_] := Module[{a, b, c, d, e, f}, a=EulerPhi[x]; b=DivisorSigma[1, x]; c=EulerPhi[a]; d=DivisorSigma[1, b]; e=EulerPhi[b]; f=DivisorSigma[1, a]; a+b==c+d-e-f]; Do[If[g[n]==True, Print[n]], {n, 1, 10^6}] CROSSREFS Cf. A000010, A000203, A066850, A066945, A066946. Sequence in context: A118464 A031666 A031819 * A215150 A215944 A248999 Adjacent sequences:  A066936 A066937 A066938 * A066940 A066941 A066942 KEYWORD nonn AUTHOR Joseph L. Pe, Jan 24 2002 EXTENSIONS Edited by Dean Hickerson, Jan 26 2002 a(8)-a(22) from Donovan Johnson, Jan 02 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified June 24 18:46 EDT 2021. Contains 345419 sequences. (Running on oeis4.)