DGS Studio

Cryptarithm / Alphametic

Cryptarithm / Alphametic

Each letter stands for a decimal digit. Different letters are different digits.

Each letter is a decimal digit, and different letters are different digits. Leading digits are not zero. ABC + ABB = 777 has the solution A = 3, B = 8, C = 9, because 389 + 388 = 777.

SEND + MORE = MONEY is the classic puzzle 9567 + 1085 = 10652. AB + BA = 121 has more than one digit assignment. The panel lists the solutions it finds rather than stopping at the first one.

Equation

ABC + ABB = 777

How the equation is solved

Solve Equation keeps the algebra steps, not a curve. A linear equation isolates the variable. A polynomial can have several roots. A result is kept exact when it is an integer, a fraction, or a simple radical, and an approximation is added only when that helps.

Some inputs are identities or contradictions. 0·x = 0 is true for every x. 0·x = 5 is true for none. A system followed by 'find' solves the equations first and then evaluates the requested expression. The editor below sends the text you leave in the field.

Reading the input

Other versions of this example

These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.

ABC + ABB = 777

A unique digit assignment: each letter is one digit.

ABC + ABB = 777

SEND + MORE = MONEY

A classic word alphametic.

SEND + MORE = MONEY

AB + BA = 121

Several different digit assignments satisfy this puzzle.

AB + BA = 121

Try a change

Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.

Edit and generate

Solve Equation opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples