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!)
A291258 a(n) is the smallest number k such that sigma(k) - phi(k) = n*k, or 0 if no such k exists. 0

%I #11 Aug 21 2017 19:14:49

%S 1,2,12,75960,17156160

%N a(n) is the smallest number k such that sigma(k) - phi(k) = n*k, or 0 if no such k exists.

%C a(5) and following terms > 10^13, if they exist. - _Giovanni Resta_, Aug 21 2017

%e a(2) = 12 because sigma(12) = 28, phi(12) = 4; sigma(12) - phi(12) = 2*12 and 12 is the smallest number with this property.

%o (PARI) a(n) = {my(k=1); while (sigma(k)-eulerphi(k)!=n*k, k++); k; }

%Y Cf. A000010, A000203, A055681.

%K nonn,more

%O 0,2

%A _Altug Alkan_, Aug 21 2017

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 03:08 EDT 2024. Contains 371918 sequences. (Running on oeis4.)