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.

A043525 Numbers having one 9 in base 10.

Original entry on oeis.org

9, 19, 29, 39, 49, 59, 69, 79, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 109, 119, 129, 139, 149, 159, 169, 179, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 209, 219, 229, 239, 249, 259, 269, 279, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 309, 319
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Mathematica
    Select[Range[300],DigitCount[#,10,9]==1&] (* Harvey P. Dale, Jan 19 2013 *)
  • Python
    def ok(n): return str(n).count('9') == 1
    print(list(filter(ok, range(320)))) # Michael S. Branicky, Sep 19 2021

Formula

Sum_{n>=1} 1/a(n) = A140502. - Amiram Eldar, Nov 14 2020