The sequence 2, 3, 5, 6, 7, 10, 11, $\ldots$ contains all the positive integers from least to greatest that are neither squares nor cubes. What is the $400^{\mathrm{th}}$ term of the sequence?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
The sequence 2, 3, 5, 6, 7, 10, 11, $\ldots$ contains all the positive integers from least to greatest that are neither squares nor cubes. What is the $400^{\mathrm{th}}$ term of the sequence?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
425
The sequence 2, 3, 5, 6, 7, 10, 11, $\ldots$ contains all the positive integers from least to greatest that are neither squares nor cubes. What is the $400^{\mathrm{th}}$ term of the sequence?
train