cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A381528 Indices of records in A381526.

Original entry on oeis.org

0, 1, 3, 22, 24, 32, 42, 72, 84, 384, 724, 2584, 200000002, 200000004, 2000000002
Offset: 1

Views

Author

Dominic McCarty, Feb 26 2025

Keywords

Crossrefs

Cf. A381526.

Programs

  • Python
    from itertools import count
    def b(n):
        if n in [0, 2, 4, 8] or n % 10 == 0: return -1
        for k in count(1):
            if str(k) in str(k*n): return k
    a, n, max = [], 0, -2
    while len(a) < 10:
        if (m := b(n)) > max:
            a.append(n)
            max = m
        n += 1
    print(a)