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.

A362120 a(n) is the smallest positive number whose American English name has the letter "e" in the n-th position.

Original entry on oeis.org

8, 7, 1, 3, 3, 12, 13, 17, 21, 23, 23, 73, 101, 103, 103, 112, 113, 117, 121, 123, 123, 173, 323, 373, 1103, 1103, 1112, 1113, 1117, 1121, 1123, 1123, 1173, 1323, 1373, 3323, 3373, 11373, 13323, 13373, 17373, 23323, 23373, 73373, 101373, 103323, 103373, 111373
Offset: 1

Views

Author

N. J. A. Sloane, Apr 20 2023

Keywords

References

  • GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 70.

Crossrefs

See A164790, A362121, A362122 for other versions.

Programs

  • Python
    from itertools import count
    from num2words import num2words
    def A362120(n): return next(filter(lambda k:len(s:=num2words(k).replace('-','').replace(',','').replace(' and ','').replace(' ',''))>=n and s[n-1]=='e',count(1))) # Chai Wah Wu, Apr 21 2023