Tool for solving All Ten challenges. Use 4 numbers and the operations +, -, ×, ÷ to get the results from 1 to 10. Ideal for learning math and mental arithmetic.
All Ten Solver - dCode
Tag(s) : Number Games
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
The All Ten game is a mathematical puzzle whose objective is to use four numbers given only once each, combined with basic operations (+, –, ×, ÷) and possibly parentheses, to obtain all the numbers from 1 to 10.
The aim of the game is to find the 10 numbers from 1 to 10, using the 4 given digits.
Example: 1,2,3,4 allows you to find 1=(2×3)-4-1, 2=(4×2)/(3+1), etc.
— Use each number exactly once per calculation
— Allow only the following operations: addition (+), subtraction (–), multiplication (×), division (÷)
— Allow parentheses to change the order of operations
— Do not use exponents, roots, factorials, or concatenation
The easiest way to solve the 10 All Ten problems is to use the dCode solver. Enter the four numbers, and the solutions for numbers 1 through 10 will be calculated.
Alternatively, here are a few tips:
— Start with the smallest target numbers (1 and 2); they often have simpler solutions.
— Look for symmetries: if an expression yields N and ends with the addition of a small digit like 1 or 2, then the same calculation but with the subtraction of that small digit gives a different result.
— Avoid calculations with multiplications resulting in very large numbers, or with non-integer divisions; these rarely lead to a viable solution.
— With concatenation: allow the formation of two-digit numbers (e.g., 1 and 2 to write 12)
— With exponents: allow powers (e.g., 2^3 = 8)
— With factorials: use the ! notation (e.g., 4! = 24)
— With 5 or 6 numbers
— With more target numbers, why limit ourselves to 1 to 10 when 100 isn't that far off!
dCode retains ownership of the "All Ten Solver" source code. Any algorithm for the "All Ten Solver" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "All Ten Solver" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "All Ten Solver" or any other element are not public (except explicit open source licence). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.
The content of the page "All Ten Solver" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source (Creative Commons CC-BY free distribution license).
Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link:
In a scientific article or book, the recommended bibliographic citation is: All Ten Solver on dCode.fr [online website], retrieved on 2025-12-18,