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

Home > Just Math
Square and Consecutive Cubes (Posted on 2009-12-17) Difficulty: 3 of 5
N is a positive integer such that N2 is expressible as the difference of two consecutive perfect cubes, and 2N + 79 is a perfect square.

Determine the maximum value of N.

No Solution Yet Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
re: A start! | Comment 2 of 4 |
(In reply to A start! by rod hines)

For N to be the difference between two consecutive cubes (A, and A+1), N = 3A+3A+1. Subtracting N from both sides to create a quadratic:

-b√(b-4ac)              -3√(9-12(1-N))
----------------- ====> --------------------- ====>
          2a                                 6

A = -0.5 √(N/3-1/12) ...

Running through a quick program to find all possible values of N (up to 100,000,000) that lead to an integer result, we get:


Running the following code:

def square_and_consecutive_cubes():
    for n in possible:
        if ((a+1)**3-a**3==n**2)*is_perfect_square(2*n+79)==1:

Gets us two solutions for N<100,000,000:

N=1, A=0 and N=181, A=104. Not that this proves anything, but I do believe that N=181 is likely the largest value such that N = (A+1) - A and 2N + 79 is a perfect square.
  Posted by Justin on 2009-12-17 16:21:44

Please log in:
Remember me:
Sign up! | Forgot password

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

Copyright © 2002 - 2019 by Animus Pactum Consulting. All rights reserved. Privacy Information