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

Home > Numbers
Cubes of couples (Posted on 2018-06-12) Difficulty: 3 of 5
Find a six-digit number ABCDEF such that
AB3+CD3+EF3=ABCDEF.

Rem: VWXYZ denotes the value of the string (not necessarily distinct digits).

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 1 of 2
Seven solutions:

165033
221859
341067
444664
487215
982827
983221

from

DefDbl A-Z
Dim crlf$


Private Sub Form_Load()
 Form1.Visible = True
 Text1.Text = ""
 crlf = Chr(13) + Chr(10)
 
 For ab = 10 To 99
   t1 = ab * ab * ab
   p1 = ab * 10000
 For cd = 10 To 99
   t2 = cd * cd * cd + t1
   p2 = cd * 100 + p1
 For ef = 10 To 99
   t3 = ef * ef * ef + t2
   p3 = p2 + ef
   ct = ct + 1
   If t3 = p3 Then
     Text1.Text = Text1.Text & t3 & crlf
   End If
 Next
 Next
 Next
 
 Text1.Text = Text1.Text & crlf & ct & " done"
  
End Sub


  Posted by Charlie on 2018-06-12 16:08:02
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information