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

Home > Numbers
Ask and solve cubes (Posted on 2020-08-17) Difficulty: 2 of 5
If
i. ASK=(A+S+K)3
&
ii. SOLVE=(S+O+L+V+E)3

Show that:
i. has one integer solution
and
ii. has several, but only one with 5 distinct digits.

List all of them.

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 2 of 5 |
All such numbers, without regard to length, are:

1
512
4913
5832
17576
19683

The 3-digit one solves part i, and the last one solves part ii.

 For n = 1 To 999999
   ns$ = LTrim(Str(n))

     s = sod(ns)
     If s * s * s = n Then
        Text1.Text = Text1.Text & n & crlf
     End If
   
   DoEvents
 Next

. . .

Function sod(x$)
  t = 0
  For i = 1 To Len(x)
    t = t + Val(Mid(x, i, 1))
  Next
  sod = t
End Function


  Posted by Charlie on 2020-08-17 14:43:53
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (1)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (14)
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