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.

A126259 Numbers that are divisible by the number of letters in their English name, excluding spaces and hyphens;.

Original entry on oeis.org

4, 6, 12, 30, 33, 36, 40, 45, 50, 54, 56, 60, 70, 81, 88, 90, 100, 108, 132, 154, 184, 190, 200, 204, 252, 253, 264, 276, 286, 288, 299, 300, 304, 306, 325, 336, 338, 340, 360, 378, 418, 420, 462, 475, 480, 504, 510, 520, 575, 576, 580, 600, 651, 667, 682, 702
Offset: 1

Views

Author

Jonathan R. Love (japanada11(AT)yahoo.ca), Mar 08 2007

Keywords

Comments

This version uses the British English convention of including "and"; see A092320 for the American English version. - Michael S. Branicky, Apr 07 2023

Examples

			The word "sixty" has 5 letters and 60 is divisible by 5 (60/5=12), so 60 is included in the list.
"one hundred and eight" has 18 letters and 18*6 = 108, so 108 is a term.
		

Crossrefs

Programs

  • Python
    from num2words import num2words
    def letts(n): return sum(1 for c in num2words(n) if c.isalpha())
    def ok(n): return n and n%letts(n) == 0
    print([k for k in range(1000) if ok(k)]) # Michael S. Branicky, Apr 07 2023

Extensions

Corrected and extended by Sean A. Irvine, Mar 15 2010