[go: up one dir, main page]

login
A362437
a(n) = n + Scrabble score of n.
1
13, 4, 8, 11, 11, 15, 16, 15, 17, 13, 13, 20, 24, 24, 25, 28, 30, 29, 30, 27, 32, 36, 40, 43, 43, 47, 48, 47, 49, 45, 42, 46, 50, 53, 53, 57, 58, 57, 59, 55, 51, 55, 59, 62, 62, 66, 67, 66, 68, 64, 64, 68, 72, 75, 75, 79, 80, 79, 81, 77, 75, 79, 83, 86, 86, 90, 91, 90, 92, 88, 83, 87, 91
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
Cf. A113172.
Sequence in context: A204157 A010219 A217426 * A056139 A106293 A046734
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 21 2023
STATUS
approved