Cannonball Problem

Author

Eric W. Weisstein
July 12, 2008

This notebook downloaded from http://mathworld.wolfram.com/notebooks/DiophantineEquations/CannonballProblem.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/CannonballProblem.html.

©2008 Wolfram Research, Inc. except for portions noted otherwise

Equation

Sum[i^2,{i,k}]

Reduce[ k (1+k) (1+2 k)==6n^2&&n>0,{k,n},Integers]

Reduce[ k (1+k) (1+2 k)==6n^2&&0<n<10^4,{k,n},Integers]