Problem 45 of Project Euler required one to find numbers which are triangular, pentagonal and hexagonal together. Checking for triangularity is redundancy as all hexagonal numbers are also triangular. So it boils down to solving the equation:
n(3n – 1) / 2 = m(2m – 1)
Using the Diophantine Equation solver at http://www.alpertron.com.ar/QUAD.HTM, we get the solution as
The solution comes very easily from here.
Continue Reading ?
AUG
