# Which positive integer is equal to it's own Scrabble score when spelt out in full? [closed]

The Challenge: Make the shortest program to confirm that 12 is the answer.

(The puzzle is from Ian Stewart's "Cabinet of Mathematical Curiosities". This is my first code golf question. I hope this type of thing is allowed)

In Scrabble the following are the letter scores:
AEIOULNRST score 1 each
DG score 2 each
BCMP score 3 each
FHVWY score 4 each
K scores 5
JX score 8 each
QX score 10 each.

• I would remove the answer from the description and add some rules. Like hard coding is not allowed etc. Also might be fun if people can find other things. Perhaps its possible that the score and the number(digits) are palindrome (and numbers consist of more than 2 digits. – Teun Pronk Sep 15 '14 at 14:25
• @TeunPronk My point is that (as it stands now), you could just use input "twelve" to those answers and compare it to 12 to "confirm that 12 is the answer". This one is unclearly written, but I'd retract if it's given a good spec that better distinguishes it from the other. – Geobits Sep 15 '14 at 14:29
• @TeunPronk My close vote was for unclear, not duplicate. I mentioned the other one in comments so that any editor wouldn't unknowingly make it an exact duplicate. – Geobits Sep 15 '14 at 14:34
• @TeunPronk Thanks for helpful comments. I included the answer because I thought as a programming challenge it is way below the capacity of any programmer worth his salt.I am working on a way to refine the question. – Donagh McCarthy Sep 15 '14 at 14:56
• Either try and solve the problem here, or delete and repost in the sandbox (then when it's fixed you can delete and post back here). Don't do both. I think sandbox is the best place because there are quite big issues with this question. Even allowing for some flexibility, the number of hits is going to be small, which makes the question vulnerable to hardcoded answers. Throwing an idea out: I suggest the user might enter a number (in figures)between 0 and 999 (or 999999) and the program would output the scrabble score for that number. Use of a and & one with 100 would need clarification. – Level River St Sep 15 '14 at 19:06