login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A333741 Odd numbers k such that phi(k) = phi(k+2), where phi is the Euler totient function (A000010). 2

%I #11 Apr 15 2020 12:31:28

%S 7,635,1015,2695,6497,10307,12317,13445,46205,77693,81303,133787,

%T 134995,151823,162925,180633,181427,220113,288925,359905,392819,

%U 404471,439097,453167,485237,682649,739023,840851,879303,910195,988713,1392317,1410119,1434895,1503347

%N Odd numbers k such that phi(k) = phi(k+2), where phi is the Euler totient function (A000010).

%C The odd terms of A001494. These terms are relatively rare: of the first 10000 terms of A001494 only 63 are odd.

%H Amiram Eldar, <a href="/A333741/b333741.txt">Table of n, a(n) for n = 1..1000</a>

%e 7 is a term since phi(7) = phi(9) = 6.

%t Select[Range[1, 10^6, 2], EulerPhi[#] == EulerPhi[# + 2] &]

%t 2#-1&/@SequencePosition[EulerPhi[Range[1,151*10^4,2]],{x_,x_}][[All,1]] (* Requires Mathematica version 10 or later *) (* _Harvey P. Dale_, Apr 15 2020 *)

%Y Cf. A000010, A001274.

%K nonn

%O 1,1

%A _Amiram Eldar_, Apr 03 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 00:30 EDT 2024. Contains 371917 sequences. (Running on oeis4.)