OFFSET
0,3
COMMENTS
Obviously includes all palindromes (A002113).
LINKS
Michael S. Branicky, Table of n, a(n) for n = 0..10000
EXAMPLE
35 is in sequence because 35 ("thirty-five") and 53 ("fifty-three") each have 10 letters in English (dashes not counted).
MATHEMATICA
Select[Range[0, 132], Length[Select[Characters[IntegerName[#, "Words"]], LetterQ]]==Length[Select[Characters[IntegerName[FromDigits[Reverse[IntegerDigits[#]]], "Words"]], LetterQ]]&] (* James C. McMahon, Feb 12 2024 *)
PROG
(Python)
from num2words import num2words
def n2w(n):
map = {ord(c): None for c in "-, "}
return num2words(n).replace(" and", "").translate(map)
def ok(n): return len(n2w(n)) == len(n2w(int(str(n)[::-1])))
print([k for k in range(133) if ok(k)]) # Michael S. Branicky, Feb 12 2024
CROSSREFS
KEYWORD
base,nonn,word
AUTHOR
David W. Wilson, May 21 2005
EXTENSIONS
10 inserted by James C. McMahon, Feb 12 2024
STATUS
approved