 All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars  perplexus dot info  Three mirrored multiplications (Posted on 2017-04-02) The alphametic
ABC*CBA = DEF*FED (i)
has 3 distinct (excluding symmetry) solutions.

Find them all.

Assume A being the smallest of all digits and D the smallest
on the right side of (i).

 No Solution Yet Submitted by Ady TZIDON No Rating Comments: ( Back to comment list | You must be logged in to post comments.) computer solution Comment 1 of 1
`abc def     def fed156 651     273 372168 861     294 492276 672     384 483`

from

DefDbl A-Z
Dim crlf\$

Form1.Visible = True

Text1.Text = ""
crlf = Chr\$(13) + Chr\$(10)

For a = 1 To 9
For b = 0 To 9
For c = 1 To 9
abc = 100 * a + 10 * b + c: cba = 100 * c + 10 * b + a
If abc < cba Then
For d = 1 To 9
For e = 0 To 9
For f = 1 To 9
def = 100 * d + 10 * e + f: fed = 100 * f + 10 * e + d
If def > abc And fed > abc And def < fed And abc * cba = def * fed Then
Text1.Text = Text1.Text & abc & Str(cba) & "     " & def & Str(fed) & crlf
End If
DoEvents
Next
Next
Next
End If
DoEvents
Next
Next
Next

Text1.Text = Text1.Text & crlf & " done"

End Sub

 Posted by Charlie on 2017-04-02 12:40:21 Please log in:

 Search: Search body:
Forums (0)