login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A068401
Numbers k such that sigma(k) = phi(k+1) + phi(k-1).
1
2, 38, 62, 346, 1298, 7898, 22682, 24382, 93022, 108194, 143362, 171982, 192718, 264766, 587638, 986642, 1236898, 1441042, 1604422, 2228582, 4146434, 5070314, 5631718, 6687046, 10223918, 10695182, 12465158, 14221738, 15148522, 21718622, 23660038, 31290398, 31390454
OFFSET
1,1
LINKS
MATHEMATICA
Select[Range[2, 125*10^5], DivisorSigma[1, #]==Total[EulerPhi[#+{1, -1}]]&] (* Harvey P. Dale, Jan 22 2020 *)
PROG
(PARI) for(n=2, 12500000, if(sigma(n)==eulerphi(n+1)+eulerphi(n-1), print1(n, ", ")))
CROSSREFS
Sequence in context: A049487 A163792 A050899 * A173026 A294396 A075459
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 02 2002
EXTENSIONS
More terms from Rick L. Shepherd, Jul 04 2002
More terms from Amiram Eldar, Jun 14 2022
STATUS
approved