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!)
A072612 Minimal value of { abs(n-sigma(k)) : k>0 }. 0
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
COMMENTS
a(A002191(k)) = 0
LINKS
FORMULA
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)
PROG
(PARI) a(n)=vecmin(vector(n, k, abs(n-sigma(k))))
CROSSREFS
Sequence in context: A049816 A328958 A143542 * A116378 A321854 A227839
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Aug 11 2002
STATUS
approved

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 25 07:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)