The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A362437 a(n) = n + Scrabble score of n. 1

%I #8 Apr 22 2023 10:28:44

%S 13,4,8,11,11,15,16,15,17,13,13,20,24,24,25,28,30,29,30,27,32,36,40,

%T 43,43,47,48,47,49,45,42,46,50,53,53,57,58,57,59,55,51,55,59,62,62,66,

%U 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

%N a(n) = n + Scrabble score of n.

%D GCHQ, The GCHQ Puzzle Book, Penguin, 2016. See page 79.

%o (Python)

%o from num2words import num2words

%o 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

%Y Cf. A113172.

%K nonn

%O 0,1

%A _N. J. A. Sloane_, Apr 21 2023

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 14 17:50 EDT 2024. Contains 372533 sequences. (Running on oeis4.)