Choose a positive integer (and less than few 1000 digits):
123456789000000000000000000000
compute!
Results:
The original version of the algorithm can be found in the following paper:
Paul Pollack, Enrique TreviƱo: FINDING THE FOUR SQUARES IN LAGRANGE'S THEOREM