Countdown Tools

Tools to find all the solutions to the countdown letters and numbers games.
16.3K Downloads
Updated 26 Apr 2005

No License

Tools to find all the solutions to the countdown letters and numbers games.

The letters game includes a large public domain dictionary from the Moby project.
See http://www.dcs.shef.ac.uk/research/ilash/Moby/

Here is an example of the use of each.

lettersgame('plainersz')
Found 139 x 4 letters
Found 146 x 5 letters
Found 62 x 6 letters
Found 14 x 7 letters
plainer
praline
alpines
spaniel
splenia
aliners
nailers
renails
paniers
rapines
planers
replans
panzers
pilsner
Found 1 x 8 letters
pralines
Found 0 x 9 letters
ans =
[] [] [] [139x4 char] [146x5 char] [62x6 char] [14x7 char] 'pralines' ''

>> [e,a]=numbersgame(929,[3 7 75 8 6 1])
e =
'(((7+3)x8+75)x6-1)'
'(((75-3)x(7+6)+1)-8)'
'(((75-3)x(7+6)-8)+1)'
'((75-3)x((8+6)-1)-7)'
'((75-3)x((8-1)+6)-7)'
'((75-3)x(7+6)-(8-1))'
'((75-3)x(8+(6-1))-7)'
a =
929

Cite As

Murphy O'Brien (2024). Countdown Tools (https://www.mathworks.com/matlabcentral/fileexchange/7477-countdown-tools), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Word games in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Now uses a text file instead of m file as the dictionary for portability.