OFFSET
1,1
COMMENTS
If p=2^n+3 and both numbers p & q=(1/2)*(p^2-3p-2) are primes then q is in the sequence, because sigma(q+1)=sigma((1/2)*(p-3)*p)= sigma(2^(n-1)*p)=(2^n-1)*(p+1)=(p-4)*(p+1)=p^2-3p-4=2q-2=2*phi(q). 13, 43, 151, 2143 & 34360131583 are such terms corresponding to n = 2, 3, 4, 6 & 18. - Farideh Firoozbakht, Feb 16 2008
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
MATHEMATICA
Do[If[DivisorSigma[1, n+1]==2*EulerPhi@n, Print[n]], {n, 200000}] (* Farideh Firoozbakht, Feb 16 2008 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 21 2002
EXTENSIONS
More terms from Amiram Eldar, Apr 24 2022
STATUS
approved