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.

Showing 1-1 of 1 results.

A045177 Numbers whose base-5 representation contains exactly one 0 and one 2.

Original entry on oeis.org

10, 27, 35, 51, 53, 54, 55, 65, 70, 77, 85, 102, 110, 132, 136, 138, 139, 142, 147, 152, 160, 176, 178, 179, 180, 190, 195, 202, 210, 227, 235, 256, 258, 259, 266, 268, 269, 271, 273, 274, 276, 278, 279, 280, 290, 295, 326, 328, 329, 330, 340, 345, 351, 353
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A007091.
Subsequence of A039284.

Programs

  • Python
    from sympy.ntheory import count_digits
    def ok(n): c = count_digits(n, b=5); return c[0] == c[2] == 1
    print([k for k in range(354) if ok(k)]) # Michael S. Branicky, Oct 27 2021
Showing 1-1 of 1 results.