The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A082898 a(n) = A082895(n)/n, where A082895(n) is the closest number to sigma(n) which is divisible by n. 3
 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 2, 2, 1, 2, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 1, 2, 1, 3, 1, 2, 2, 2 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 LINKS Antti Karttunen, Table of n, a(n) for n = 1..100000 FORMULA a(n) = floor[(floor(n/2)+sigma[n])/n], sigma() = A000203(). MATHEMATICA Table[Floor[(Floor[n/2]+DivisorSigma[1, n])/n], {n, 1, 100}] PROG (PARI) A082898(n) = { my(s=sigma(n), a = ((s\n)*n), b = (1+(s\n))*n); if((b-s) <= abs(a-s), b, a)/n; }; \\ Antti Karttunen, Oct 09 2018 CROSSREFS Cf. A082893, A082894, A082895, A082901. Sequence in context: A161280 A160984 A346094 * A095999 A334948 A161238 Adjacent sequences: A082895 A082896 A082897 * A082899 A082900 A082901 KEYWORD nonn AUTHOR Labos Elemer, Apr 22 2003 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.

Last modified March 26 06:47 EDT 2023. Contains 361529 sequences. (Running on oeis4.)