The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A370488 a(n) is the smallest integer k such that the average deviation of previous terms and k is an integer, where a(n) > a(n - 1) and a(1) = 1. 1
1, 3, 11, 13, 57, 65, 95, 99, 124, 132, 159, 165, 246, 265, 335, 342, 353, 397, 406, 422, 426, 482, 876, 1018, 1383, 1641, 1689, 1731, 2376, 2433, 3149, 3202, 3294, 3822, 4068, 4077, 4192, 4274, 4554, 4575, 4712, 5368, 6283, 6303, 7997, 8226, 9815, 10696, 12273, 12325, 12764, 12868 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Conjecture: a(n)/n^3 tends to c, where 0.08 < c < 0.1.
PROG
(PARI) avdev(v)={my(n=#v, sav=vecsum(v)/n); sum(k=1, n, abs(v[k]-sav))/n};
a370488(nterms) = {my(v=vector(nterms)); v[1]=1; for (k=2, nterms, for (j=v[k-1]+1, oo, v[k]=j; if (denominator(avdev(v[1..k])) == 1, break))); v};
a370488(52) \\ Hugo Pfoertner, Feb 20 2024
CROSSREFS
Sequence in context: A079665 A281728 A083992 * A105290 A201426 A158790
KEYWORD
nonn
AUTHOR
Nicolas Bělohoubek, Feb 19 2024
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 May 13 12:32 EDT 2024. Contains 372519 sequences. (Running on oeis4.)