The increasing sequence \(2,3,5,6,7,10,11,\ldots\) consists of all positive integers that are neither the square nor the cube of a positive integer. Find the 500th term of this sequence.

(第八届AIME1990 第1题)