cp's OEIS Frontend

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.

Showing 1-2 of 2 results.

A113172 Scrabble value of English word for the number n.

Original entry on oeis.org

13, 3, 6, 8, 7, 10, 10, 8, 9, 4, 3, 9, 12, 11, 11, 13, 14, 12, 12, 8, 12, 15, 18, 20, 19, 22, 22, 20, 21, 16, 12, 15, 18, 20, 19, 22, 22, 20, 21, 16, 11, 14, 17, 19, 18, 21, 21, 19, 20, 15, 14, 17, 20, 22, 21, 24, 24, 22, 23, 18, 15, 18, 21, 23, 22, 25, 25, 23, 24, 19, 13, 16, 19
Offset: 0

Views

Author

Jack Lloyd (foldalonglines(AT)gmail.com), Jan 07 2006

Keywords

Comments

The name Scrabble is a registered trademark of Hasbro, Inc. in the US and Canada and of J. W. Spear & Sons PLC elsewhere.
Is 12 the unique fixed point of Scrabble value of English word for the number n, where A113172(n) = n? 12 --> "TWELVE" --> 1+4+1+1+4+1 --> 12. - Jonathan Vos Post, Nov 08 2006

Examples

			ONE = 1+1+1 = 3, TWO = 1+4+1 = 6, THREE = 1+4+1+1+1 = 8
		

Crossrefs

Cf. A080993, A167052 (Spanish).

Programs

  • Mathematica
    (* first copy 'TA' from A109382 then *)
     ScrabbleTransferRule = {a -> 1, b -> 3, c -> 3, d -> 2, e -> 1, f -> 4, g -> 2, h -> 4, i -> 1, j -> 8, k -> 5, l -> 1, m -> 3, n -> 1, o -> 1, p -> 3, q -> 10, r -> 1, s -> 1, t -> 1, u -> 1, v -> 4, w -> 4, x -> 8, y -> 4, z -> 10};
     f[n_] := Plus @@ (Flatten@ Part[TA, n + 1] /. ScrabbleTransferRule);
     Table[ f@n, {n, 0, 72}] (* Robert G. Wilson v, Nov 02 2006 *)
  • Python
    from num2words import num2words
    tp = {"aeilnorstu": 1, "dg": 2, "bcmp":3, "fhvwy":4, "k":5, "jx":8, "qz":10}
    def pts(c): return ([tp[s] for s in tp if c in s]+[0])[0]
    def a(n): return sum(map(pts, num2words(n).replace(" and", "")))
    print([a(n) for n in range(73)]) # Michael S. Branicky, Aug 18 2021

Formula

The standard, non-bonus scrabble scoring total of the letters comprising English integer words, given that (A080993) A = 1, B = 3, C = 3, D = 2, E = 1, F = 4, G = 2, H = 4, I = 1, J = 8, K = 5, L = 1, M = 3, N = 1, O = 1, P = 3, Q = 10, R = 1, S = 1, T = 1, U = 1, V = 4, W = 4, X = 8, Y = 4, Z = 10.

Extensions

More terms from Robert G. Wilson v, Nov 02 2006

A116531 Number of letters in common in the English names for the numbers n and n+1.

Original entry on oeis.org

2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 4, 3, 5, 5, 5, 5, 5, 6, 3, 6, 7, 7, 7, 7, 7, 7, 7, 8, 4, 6, 7, 7, 7, 7, 7, 7, 7, 8, 3, 5, 6, 6, 6, 6, 6, 6, 6, 7, 4, 5, 6, 6, 6, 6, 6, 6, 6, 7, 3, 5, 6, 6, 6, 6, 6, 6, 6, 7, 5, 7, 8, 8, 8, 8, 8, 8, 8, 9, 4, 6, 7, 7, 7, 7, 7, 7, 7, 8, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 4, 10, 11, 11
Offset: 0

Views

Author

Rodolfo Kurchan, Mar 26 2006

Keywords

Examples

			a(0)=2 from OnE and zErO, a(1)=1 from twO and One, a(2)=1 from Three and Two, a(7)=1 from Eight and sEven, etc.
		

Crossrefs

Cf. A109382.

Extensions

Corrected and edited by Robert G. Wilson v, Apr 06 2006
Showing 1-2 of 2 results.