OFFSET
1,1
LINKS
Donovan Johnson, Table of n, a(n) for n = 1..200
EXAMPLE
phi(56) + phi(57) = 24 + 36 = 60 = 1/2 sigma(56), so 56 is a term of the sequence.
MAPLE
with(numtheory): p:=proc(n) if phi(n)+phi(n+1)=sigma(n)/2 then n else fi end: seq(p(n), n=1..2500000); # Emeric Deutsch, Sep 02 2005
MATHEMATICA
Select[Range[10^5], EulerPhi[ # ] + EulerPhi[ # + 1] == (1/2)DivisorSigma[1, # ] &]
PROG
(PARI) isok(n) = eulerphi(n) + eulerphi(n+1) == sigma(n)/2; \\ Michel Marcus, Aug 15 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Oct 23 2002
EXTENSIONS
More terms from Emeric Deutsch, Sep 02 2005
STATUS
approved