A233466 Numbers k such that phi(k) = (k-5)/2.
165, 64005, 6992962170388485, 18446744047939747845
Offset: 1
Examples
phi(165) = 80 = (165-5)/2.
Links
- Wikipedia, Lehmer's totient problem.
Crossrefs
Subsequence of A083255. - R. J. Mathar, Jan 13 2014
Programs
-
Mathematica
Do[If[EulerPhi[n]==1/2(n-5),Print[n]],{n,1,70001,4}]
-
PARI
is(n)=eulerphi(n)==(n-5)/2 \\ Charles R Greathouse IV, Jan 20 2014
-
Python
from itertools import islice, count from sympy import totient def A233466gen(): return filter(lambda n:2*totient(n) == n-5,count(1,2)) A233466_list = list(islice(A233466gen(),2)) # Chai Wah Wu, Dec 15 2021
Extensions
Missing term a(3) inserted, a(4) confirmed by Max Alekseyev, Oct 28 2023
Comments