What is the sum of all positive integers that are both triangular and a perfect cube?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
An overkill solution. I love it!
We are interested in the following relationship:
2 p ( p + 1 ) = q 3
for p , q ∈ N . Solving this equation as a quadratic in p gives:
p 2 + p − 2 q 3 = 0 ⇒ p = 2 − 1 ± 1 2 − 4 ( 1 ) ( − 2 q 3 ) = 2 − 1 ± 8 q 3 + 1 = 2 − 1 ± ( 2 q + 1 ) ( 4 q 2 − 2 q + 1 ) .
For p to be an integer, we require the discriminant to be a perfect square. This occurs iff:
2 q + 1 = 4 q 2 − 2 q + 1 ⇒ 4 q 2 − 4 q = 0 ⇒ q = 0 , 1 . For q = 0 , we obtain p = − 1 , 0 ⇒ NOT ADMISSIBLE. For q = 1 , we obtain p = − 2 , 1 . Thus p = q = 1 is the only acceptable solution, which makes 1 the only such triangular number & perfect cube.
For p to be an integer, we require the discriminant to be a perfect square. This occurs iff: 2 q + 1 = 4 q 2 − 2 q + 1 …
I disagere with this statement. It could be possible that 2 q + 1 divides 4 q 2 − 2 q + 1 . That is, 2 q + 1 = a , 4 q 2 − 2 q + 1 = a b 2 for some integers a , b .
In which case, 2 q + 1 4 q 2 − 2 q + 1 = 2 q − 2 + 2 q − 1 3 . So 3 divides 2 q − 1 . Equivalently, 2 q − 1 = ± 1 , ± 3 . Or q = 0 , ± 1 , 2 .
Trial and error show that q = 1 is the only solution.
Problem Loading...
Note Loading...
Set Loading...
There's a nice solution for this at http://mathworld.wolfram.com/CubicTriangularNumber.html .