OFFSET
0,1
REFERENCES
GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 79.
PROG
(Python)
from num2words import num2words
def A362437(n): return n+sum((1, 3, 3, 2, 1, 4, 2, 4, 1, 8, 5, 1, 3, 1, 1, 3, 10, 1, 1, 1, 1, 4, 4, 8, 4, 10)[a] for d in num2words(n).replace(' and ', '') if 0<=(a:=ord(d)-97)<=25) # Chai Wah Wu, Apr 21 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 21 2023
STATUS
approved