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!)
A007694 Numbers k such that phi(k) divides k.
(Formerly M0992)
41

%I M0992 #104 Sep 27 2023 02:47:14

%S 1,2,4,6,8,12,16,18,24,32,36,48,54,64,72,96,108,128,144,162,192,216,

%T 256,288,324,384,432,486,512,576,648,768,864,972,1024,1152,1296,1458,

%U 1536,1728,1944,2048,2304,2592,2916,3072,3456,3888,4096,4374,4608,5184,5832,6144,6912,7776,8192,8748,9216

%N Numbers k such that phi(k) divides k.

%C a(n) divides p^a(n) - 1 for all primes p >= 5. - _Benoit Cloitre_, Mar 22 2002

%C Also k such that Sum_{d divides k} mu(d)/d has numerator 1. - _Benoit Cloitre_, Apr 15 2002

%C k is here if and only if phi(k) also divides cototient(k). On the other hand, cototient(k) divides phi(k) if and only if k is a prime or power of a prime. - _Labos Elemer_, May 03 2002

%C It follows that k/phi(k) = 2 if k is a power of 2 and equal to 3 if k is of the form 6*A003586. - _Gary Detlefs_, Jun 28 2011

%C 1 and even 3-smooth numbers, cf. A003586. - _Reinhard Zumkeller_, Jan 06 2014

%C Numbers k such that k = (1+omega(k))*phi(k). - _Farideh Firoozbakht_, Oct 02 2014

%C These are the integers whose largest squarefree divisor is 1, 2 or 6. As such, this sequence is equal to the set V_infinite, defined as the intersection of the V_k for k >= 1, where V_k(x) = {phi_k(n) <= x} and phi_k is the k-th iterate of phi, the Euler function; for instance, V_1 is given by A002202 (see Theorem 7 in Pomerance and Luca). - _Michel Marcus_, Nov 09 2015

%C This sequence is contained in A068997. The terms of A068997 not in this sequence have largest squarefree divisor other than 1, 2, or 6, beginning with 10. - _Torlach Rush_, Dec 07 2017

%D J.-M. De Koninck & A. Mercier, 1001 Problèmes en Théorie Classique Des Nombres, Problem 526 pp. 71; 256, Ellipses Paris 2004.

%D Sárközy A. and Suranyi J., Number Theory Problem Book (in Hungarian), Tankonyvkiado, Budapest, 1972.

%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

%H T. D. Noe, <a href="/A007694/b007694.txt">Table of n, a(n) for n = 1..10000</a>

%H Roohollah Ebrahimian, <a href="https://www.youtube.com/watch?v=0hzNN2dP2Lw">When Does phi(n) divide n? A Number Theory Math Competition Problem.</a>, YouTube video, 2023.

%H Michael W. Ecker and Scott J. Beslin, <a href="http://www.jstor.org/stable/2322340">Problem E3037</a>, Amer. Math. Monthly, Vol. 93, No. 8 (1986), pp. 656-657.

%H Florian Luca and Carl Pomerance, <a href="http://www.westga.edu/~integers/j8proc/j8proc.pdf">On the range of the iterated Euler function</a>, Article 8, Integers: Electronic Journal of Combinatorial Number Theory, Proceedings of the Integers Conference 2007, Volume 9 Supplement (2009).

%H Mathematics Stack Exchange, <a href="http://math.stackexchange.com/questions/1328909/is-there-phin-n-6">Is there phi(n)/n = 6</a>

%H Wacław Sierpiński, <a href="http://matwbn.icm.edu.pl/kstresc.php?tom=42&amp;wyd=10">Elementary Theory of Numbers</a>, Warszawa, 1964.

%F k/phi(k) is an integer if and only if k = 1 or k = 2^w * 3^u for w > 0 and u >= 0.

%F k/phi(k) = 3 if and only if phi(k)|k and 3|k. - _Thomas Ordowski_, Nov 03 2014

%F a(n) is approximately exp(sqrt(2*log(2)*log(3)*n))/sqrt(3/2). - _Charles R Greathouse IV_, Nov 10 2015

%F From _Amiram Eldar_, Oct 29 2020: (Start)

%F a(n) = 2 * A003586(n) for n > 1.

%F Sum_{n>=1) 1/a(n) = 5/2. (End)

%e 12 is in the sequence because 12/phi(12) = 12/4 = 3, which is an integer.

%e 16 is in the sequence because 16/phi(16) = 16/8 = 2, which is an integer.

%e 20 is not in the sequence because 20/phi(20) = 20/8 = 5/2 = 2.5, which is not an integer.

%p select(n -> n mod numtheory:-phi(n) = 0, [$1..5000]); # _Robert Israel_, Nov 03 2014

%t Select[ Range[5000], IntegerQ[ #/EulerPhi[ # ]] &]

%t m = 5000; Join[{1}, Sort @ Flatten @ Table[2^i*3^j, {i, 1, Log2[m]}, {j, 0, Log[3, m/2^i]}]] (* _Amiram Eldar_, Oct 29 2020 *)

%o (R) library(numbers); j=N=1

%o while(j<200) if(isNatural((N=N+1)/eulersPhi(N))) dtot[(j=j+1)]=N # _Christian N. K. Anderson_, Apr 04 2013

%o (PARI) for(n=1,10^6, if (n%eulerphi(n)==0,print1(n,", "))); \\ _Joerg Arndt_, Apr 04 2013

%o (PARI) list(lim)=my(v=List([1]),t); for(i=1,logint(lim\1,2), listput(v,t=2^i); for(j=1,logint(lim\t,3), listput(v,t*=3))); Set(v) \\ _Charles R Greathouse IV_, Nov 10 2015

%o (Haskell)

%o a007694 n = a007694_list !! (n-1)

%o a007694_list = 1 : filter even a003586_list

%o -- _Reinhard Zumkeller_, Jan 06 2014

%o (Sage)

%o is_A007694 = lambda n: euler_phi(n).divides(n)

%o A007694_list = lambda len: filter(is_A007694, (1..len))

%o A007694_list(4100) # _Peter Luschny_, Oct 03 2014

%Y Cf. A000010, A049237, A007694, A007947, A003557, A023200, A003586, A001221, A033950, A235353 (subsequence), A068997 (subsequence).

%K nonn,nice,easy

%O 1,2

%A _N. J. A. Sloane_, _Robert G. Wilson v_

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 23 06:58 EDT 2024. Contains 371906 sequences. (Running on oeis4.)