For a nonnegative integer n, define an to be the positive integer with decimal representation
1\underbrace{0\ldots0}_{n}2\underbrace{0\ldots0}_{n}2\underbrace{0\ldots0}_{n}1\mbox{.}
Prove that 3an is always the sum of two positive perfect cubes but never the sum of two perfect squares.(4th Middle European Mathematical Olympiad, Team Competition, Problem 7) geometry3D geometrynumber theory proposednumber theory