Skip to main content

1990 AIME Problem 1

Problem 1 of 15EasierNumber TheoryCombinatorics

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

Your answer

Integer from 0 to 999
Show solution

Solution

Through 529,529, there are ⌊529⌋=23\lfloor\sqrt{529}\rfloor=23 squares, 88 cubes, and 22 sixth powers counted in both groups. Thus the number of allowed terms at most 529529 is 529−23−8+2=500.529-23-8+2=500. But 529=232529=23^2 is excluded, while 528528 is neither a square nor a cube. Therefore the 500500th term is 528.528.
AoPS wiki

Tagged: counting integers in a range · inclusion-exclusion · perfect square

More practice