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.

A370486 Terms in A116260 that are not of the form 10^d-1.

Original entry on oeis.org

36363636362, 45454545453, 54545454544, 63636363635, 72727272726, 81818181817, 90909090908, 428571428571428571427, 571428571428571428570, 714285714285714285713, 857142857142857142856, 363636363636363636363636363636362, 454545454545454545454545454545453
Offset: 1

Views

Author

Chai Wah Wu, Feb 19 2024

Keywords

Comments

Since 10^d-1 for d>0 are terms of A116260, this sequence only includes terms of A116260 not of this form to highlight these nontrivial terms.

Crossrefs

Cf. A116260.

Programs

  • Python
    from itertools import count, islice
    from sympy import sqrt_mod
    def A370486_gen(): # generator of terms
        for j in count(0):
            b = 10**j
            a = b*10+1
            for k in sorted(sqrt_mod(0,a,all_roots=True)):
                if a*(b+4) <= k**2 < a*(a+3):
                    yield k-2
    A370486_list = list(islice(A370486_gen(),20))