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

Home > Just Math
Cubic Equation (Posted on 2013-06-09) Difficulty: 4 of 5
Determine all triplets (a,b,c) of nonzero integers satisfying:
987654321*a + 123456789*b + c = (a + b + c)3

Prove that there are no others.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re: an open letter to Charlie | Comment 9 of 13 |
(In reply to an open letter to Charlie by Ady TZIDON)

I will see how long the following takes:

DEFDBL A-Z
FOR t = 995 TO 31427
    IF t MOD 1000 = 0 THEN PRINT t;
    term1 = 0
    FOR a = 1 TO t - 2
        term1 = term1 + 987654321
        term2 = 0
        FOR b = 1 TO t - a - 1
            term2 = term2 + 123456789
            c = t - a - b
            lhs = term1 + term2 + c
            rhs = t * t * t
            IF lhs = rhs THEN
                PRINT
                PRINT a; b; c, lhs
            END IF
        NEXT
    NEXT a
NEXT t

Notice also I eliminated the redundant sum, when t already had that sum.


  Posted by Charlie on 2013-06-10 21:35:38
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 (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

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