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!)
A370956 Record high values in A245340. 4
0, 1, 4, 8, 21, 1518, 2510, 4100, 11181, 18414, 30374, 50121, 82924, 136341, 611212, 4477981, 7351356, 12086260, 19861634, 32648059, 53646155, 144857355, 238062163, 643132294, 1736990151, 4691130396, 7709412048 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
These numbers take a record number of steps to appear in A125717.
LINKS
PROG
(Python)
from itertools import count, islice
def A370956_gen(): # generator of terms
a, aset, b, c = 0, set(), 0, -1
for n in count(1):
aset.add(a)
if a==b:
if n-1>c:
c = n-1
yield c
while b in aset:
b += 1
a = next(a for a in count(a%n, n) if a not in aset)
A370956_list = list(islice(A370956_gen(), 20)) # Chai Wah Wu, Mar 28 2024
CROSSREFS
See A370959 for the indices of these records in A245340.
Sequence in context: A248423 A319565 A129794 * A064503 A050482 A323584
KEYWORD
nonn,more
AUTHOR
N. J. A. Sloane, Mar 13 2024
EXTENSIONS
a(17)-a(24) from Michael S. Branicky, Mar 28 2024
a(25)-a(27) from Chai Wah Wu, Mar 28 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 14 00:47 EDT 2024. Contains 372528 sequences. (Running on oeis4.)