You can find positive integers less than 2000 that can be expressed as x^n for x and n both being positive integers where n ≥ 2, you can break it down as follows:
- Start with x = 2, which is the smallest possible base for this problem.
- Calculate 2^n for increasing values of n until 2^n exceeds 2000.
- Repeat the process for x = 3, 4, and so on, until x^n exceeds 2000 for each x.
- Count all the unique values obtained in the process.