All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars
 perplexus dot info

 All ten (Posted on 2017-05-06)
A & B are 5-digit numbers , such that:
i. A*8=B
ii. The concatenation AB is a pandigital number.

Since 12345 *8=98760, A=12345 B=98760 qualifies as a valid solution.

Find all the others

 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

`  A     B12345 9876010459 8367210469 8375210537 8429610579 8463210592 8473610674 8539210679 8543210742 8593610794 8635210932 8745610942 8753610953 8762410954 8763212073 9658412307 98456`

found by

DefDbl A-Z
Dim crlf\$, dvsr(300)

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

s\$ = "1234567890"
h\$ = s
Do
a = Val(Left(s, 5))
b = Val(Right(s, 5))
If b = 8 * a And a > 9999 Then Text1.Text = Text1.Text & a & Str(b) & crlf
permute s
DoEvents
Loop Until s = h

End Sub

 Posted by Charlie on 2017-05-06 13:35:05

 Search: Search body:
Forums (1)