login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A072612 Minimal value of { abs(n-sigma(k)) : k>0 }. 0

%I

%S 0,1,0,0,1,0,0,0,1,2,1,0,0,0,0,1,1,0,1,0,1,2,1,0,1,2,1,0,1,0,0,0,1,2,

%T 1,0,1,0,0,0,1,0,1,0,1,2,1,0,1,2,3,2,1,0,1,0,0,1,1,0,1,0,0,1,2,3,1,0,

%U 1,2,1,0,1,0,1,2,1,0,1,0,1,2,1,0,1,2,3,2,1,0,0,1,0,1,1,0,1,0,1,2,1,0,1,0,1

%N Minimal value of { abs(n-sigma(k)) : k>0 }.

%C a(A002191(k)) = 0

%F Conjecture : S(n) = sum( k=1, n, a(k) ) = n + O(sqrt(n)) and more precisely for n large enough : n - (5/2)*sqrt(n) < S(n) < n - (3/2)*sqrt(n)

%o (PARI) a(n)=vecmin(vector(n,k,abs(n-sigma(k))))

%K easy,nonn

%O 1,10

%A _Benoit Cloitre_, Aug 11 2002

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 09:30 EDT 2021. Contains 347579 sequences. (Running on oeis4.)