Follow Ackbeet's advice; try to write 1 as the sum of three squares; then try to write 2 as the sum of three squares; ... and if you get stuck say where you got stuck. The smallest positive integer not expressible as the sum of three squares is less than 10.