There are cubes with side lengths $ 1,2,3,...,N $ made from the same metal material, so that their weights are the the cube integers $$ 1^3, 2^3, 3^3, .... ~ ...., (N-1)^3, N^3.$$ The cubes can be divided into two groups so that the heavier group weights exactly $20162016$ more than the lighter group.

Is there exists an integer $ N \geq 1$ for which this story is possible?


1 Answer 1




let $N=95$. The lighter group consists of $2^3$, $6^3$ through $12^3$, and $21^3$ through $34^3$, and has a total weight of $315792$. The heavier group contains all the other cubes, and has a weight of $20477808$. The difference is $20162016$, as desired.

Alternatively, notice that for any $n$,
so out of any eight consecutive cubes, they can be divided into two groups where the heavier group weighs $48$ more than the lighter one. $20162016$ is divisible by $48$, so we can just keep adding eight cubes in this pattern until we reach it.

  • $\begingroup$ How did you find the middle identity? Trial-and-error, or algebraically? $\endgroup$
    – smci
    Commented Jul 8, 2023 at 1:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.