# Sugar - cuboid

Pejko received from his master cuboid composed of identical sugar cubes with count between 1000 and 2000. The Pejko eat sugar cubes in layers.
The first day eat one layer from the front, second day one layer from right, the third day one layer above. Yet in those three layers were each the same number of cubes. Find out how many cubes had original cuboid. Determine all possibilities.

Result

V1 =  1320
V2 =  1716

#### Solution:

$1320 = 11 \cdot 10 \cdot 12 \ \\ \ \\ 11 \cdot 10 = 10 \cdot (12-1) = (11-1)\cdot (12-1) = 110 \ \\ \ \\ 1716 = 12 \cdot 11 \cdot 13 \ \\ \ \\ 12\cdot 11 = 11\cdot (13-1) = (12-1) \cdot (13-1) = 132$
PHP program:

for($a=1;$a<1000; $a++) { for($b=1; $b<1000;$b++)
{
for($c=1;$c<1000; $c++) {$V = $a*$b*$c; if($V > 2000 || $V<1000) { continue; } if($a*$b == ($c-1)*$b && ($c-1)*$b == ($a-1)*($c-1)) { echo "$V = $a *$b * \$c <br>";
}
}
}
}


Our examples were largely sent or created by pupils and students themselves. Therefore, we would be pleased if you could send us any errors you found, spelling mistakes, or rephasing the example. Thank you!

Leave us a comment of this math problem and its solution (i.e. if it is still somewhat unclear...):

Be the first to comment!

Tips to related online calculators
Do you solve Diofant problems and looking for a calculator of Diofant integer equations?
Tip: Our volume units converter will help you with the conversion of volume units.

## Next similar math problems:

In about 12 hours in North Dakota the temperature rose from -33 degrees farenheit to 50 degrees farenheit. By how much did the temperature change?
2. Simplify
Simplify expression - which expression is equivalent to: 3(m + 2) − 4(2m − 9)
3. Collection of stamps
Jano, Rado, and Fero have created a collection of stamps in a ratio of 5: 6: 9. Two of them had 429 stamps together. How many stamps did their shared collection have?
4. Integer
Find the integer whose distance on the numerical axis from number 1 is two times smaller as the distance from number 6.
5. Evaluate 5
Evaluate expression x2−7x+12x−4 when x=−1
6. Two integers
Two integers, a and b, have a product of 36. What is the least possible sum of a and b?
7. Evaluate - order of ops
Evaluate the expression: 32+2[5×(24-6)]-48÷24 Pay attention to the order of operation including integers
8. The difference
The difference of two numbers is 1375. If their exact quotient is 12. Find the two numbers
9. Expression plus minus
Evaluate expression: (-1)2 . 12 – 6 : 3 + (-3) . (-2) + 22 – (-3) . 2
10. Dozen
What is the product of 26 and 5? Write the answer in Arabic numeral. Add up the digits. How many of this is in a dozen? Divide #114 by this
11. The temperature
The temperature at 1:00 was 10 F. Between 1:00 and 2:00, the temperature dropped 15F. Between 2:00 and 3:00, the temperature rose 3F. What is the temperature at 3:00?
12. Year 2018
The product of the three positive numbers is 2018. What are the numbers?
13. Progression
12, 60, -300,1500 need next 2 numbers of pattern
14. Evaluate expression 2
Evaluate expression with negatives: (-3)+4+(-8)+(-6)+4+(-1)
15. Degrees 2
The temperature was 3°F and falls four degrees Fahrenheit. What is actually temperature?
16. Equatiom
Solve equation with negatives: X/(-5) + 2 = -9
17. Expression 6
Evaluate expression: -6-2(4-8)-9