A087096 Duplicate of A072959.
515904, 11318, 15216, 10799546, 129618, 125258, 14118, 10211981, 2839691
Offset: 1
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.
a(5) = 1 since letter 5 = e appears once in "five". a(20) = 2 since letter 20 = t appears twice in "twenty". a(34) = 1 since letter 34 = h appears once in "thirty four". a(105) = 0 since letter 105 = a does not appear in "one hundred five". a,b,c,... z, a, b, ... . 1,2,3,...26,27,28, ... .
from num2words import num2words def a(n): return num2words(n).replace(" and", "").count(chr(96+n%26)) print([a(n) for n in range(87)]) # Michael S. Branicky, Jul 15 2022
a(1) = 18 because 18 is the value of "I" in Sallows' base 27.