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!)
A243018 Numbers k such that Sum_{i=1..k} phi(i) is divisible by Sum_{i=1..k} d(i), where phi(i) is the Euler totient function of i (A000010), and d(i) is the number of divisors of i (A000005). 0

%I #23 Sep 08 2022 08:46:08

%S 1,5,19,21,154,604

%N Numbers k such that Sum_{i=1..k} phi(i) is divisible by Sum_{i=1..k} d(i), where phi(i) is the Euler totient function of i (A000010), and d(i) is the number of divisors of i (A000005).

%C a(7) > 10^8. - _Michel Marcus_, Nov 01 2014

%C a(7), if it exists, is > 10^9. - _Vaclav Kotesovec_, Oct 16 2018

%F Numbers k such that A006218(k) divides A002088(k).

%e phi(1) + phi(2) + phi(3) + phi(4) + phi(5) = 1 + 1 + 2 + 2 + 4 = 10;

%e d(1) + d(2) + d(3) + d(4) + d(5) = 1 + 2 + 2 + 3 + 2 = 10;

%e Finally 10 / 10 = 1.

%p with(numtheory):P:=proc(q) local a,b,n; a:=0; b:=0;

%p for n from 1 to q do a:=a+tau(n); b:=b+phi(n);

%p if type(b/a,integer) then print(n); fi; od; end: P(10^10);

%o (PARI) lista(nn) = {se = 0; sn = 0; for (n=1, nn, se += eulerphi(n); sn += numdiv(n); if (se % sn == 0, print1(n, ", ")););} \\ _Michel Marcus_, Nov 01 2014

%o (Magma) [n:n in [1..1000]| IsIntegral(&+[EulerPhi(m):m in [1..n]]/&+[NumberOfDivisors(m):m in [1..n]])] ; // _Marius A. Burtea_, Mar 25 2019

%Y Cf. A000005, A000010, A002088, A006218, A226647.

%K nonn,more

%O 1,2

%A _Paolo P. Lava_, May 29 2014

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 July 31 04:10 EDT 2024. Contains 374774 sequences. (Running on oeis4.)