# 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:

1. Volume increase
How many percent will increase in the pool 50 m, width 15m if the level rises from 1m to 150cm?
2. Tray
Wjat height reach water level in the tray shaped a cuboid, if it is 420 liters of water and bottom dimensions are 120 cm and 70 cm.
3. Digging
A pit is dug in the shape of a cuboid with dimensions 10mX8mX3m. The earth taken out is spread evenly on a rectangular plot of land with dimensions 40m X 30m. What is the increase in the level of the plot ?
4. Juice box 2
Box with juice has the shape of a cuboid. Internal dimensions are 15 cm, 20 cm and 32 cm. If the box stay at the smallest base juice level reaches 4 cm below the upper base. How much internal volume of the box fills juice? How many cm below the top of th
5. Swimming pool
The pool shape of cuboid is 299 m3 full of water. Determine the dimensions of its bottom if water depth is 282 cm and one bottom dimension is 4.7 m greater than the second.
6. Theorem prove
We want to prove the sentence: If the natural number n is divisible by six, then n is divisible by three. From what assumption we started?
7. Three glasses
Three glasses of different colors have different volumes. Red 1.5 liter is filled from 2/5, blue 3/4 liter is filled from 1/3, and the third green 1.2 liter is empty. Pour green glass 1/4 of the contents from the red glass and 2/5 of the content from the
8. Milk
There were 22 liters of milk in three containers. There was 6 liters more in the first container than in the second. After pouring 5 liters from the first container into the third container, the same quantity of milk is in the second and third container.
9. Two integers
Two integers, a and b, have a product of 36. What is the least possible sum of a and b?
10. Gasholder
The gasholder has spherical shape with a diameter 20 m. How many m3 can hold in?
11. Sportsman
A trained athlete is able to exhale after a deep breath still 500 ml of air. At normal inhalation and exhalation is breathing 500 ml of air. Within one minute, one breath and exhaled 14 times. What part of breathing air per day is one exhalation?
12. Divisors
The sum of all divisors unknown odd number is 2112. Determine sum of all divisors of number which is twice of unknown numbers.
13. The dice
What is the probability of events that if we throw a dice is rolled less than 6?
14. Candies
If Alena give Lenka 3 candy will still have 1 more candy. If Lenka give Alena 1 candy Alena will hame twice more than Lenka. How many candies have each of them?
15. Numbers
Write smallest three-digit number, which in division 5 and 7 gives the rest 2.
16. Gasoline
35 l of gasoline is to be divided into four canisters so that in the third canister was 5 l less than the first canister, the fourth canister 10 l more than in the third canister and the second canister half what in the first canister. How many liters of.