Skip to main content

A^3 + B^3 + C^3 − 3ABC

Determine all possible values of the expression

A^3 + B^3 + C^3 − 3ABC

where A, B, and C are nonnegative integers.

A = B = C => 0

A^3 

A=B

2A^3 + C^3 - 3A^2C

C=B=3

A^3 + 54 - 27*A

1 => 28

2 => 8

3 => 0

4 => 16

5 => 44

6 => 108