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!

Following knowledge from mathematics are needed to solve this word math problem:

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. Monkey
Monkey fell in 38 meters deep well. Every day it climbs 3 meters, at night it dropped back by 2 m. On what day it gets out from the well?
2. Shooter
The shooter fired to a target from distance 11 m The individual concentric circle of targets have a radius increments 1 cm (25 points) by 1 point. Shot was shifted by 8'(angle degree minutes). How many points should win his shot?
3. Divisibility
Is the number 761082 exactly divisible by 9? (the result is the integer and/or remainder is zero)
4. Chickens and rabbits
In the yard were chickens and rabbits. Together they had 51 heads and 122 legs. How many chickens and how many rabbits was in the yard?
5. Cats
Two cats caught two mice in two days. How many mouses will catch 6 cats for 6 days?
6. When will I be a millionaire?
Barry monthly send 280 euros to the bank, which he deposits bear interest of 2.1% p. A. Calculate how many months must Barry save to save 1000000 euros? Inflation, interest rate changes, or bank failures ignore.
7. Diofant 2
Is equation ? solvable on the set of integers Z?
8. Diofant equation
In the set of integers (Z) solve the equation: ? Write result with integer parameter ? (parameter t = ...-2,-1,0,1,2,3... if equation has infinitely many solutions)
9. Trio
56 children lined up in groups of three. How many children did not create a trio?
10. Report card
Ivor hit 4× grade 5 at the beginning of the school year. How many times must now catch grade 1 to get grade 2 on the report card?
11. Dice
How many times must throw the dice, the probability of throwing at least one six was greater than 90%?
12. Unknown x
If we add to unknown number 21, then divide by 6 and then subtract 51, we get back an unknown number. What is this unknown number?
13. Sequence
In the arithmetic sequence is a1=-1, d=4. Which member is equal to the number 203?
14. Mistake
Nicol mistake when calculate in school. Instead of add number 20 subtract it. What is the difference between the result and the right result?
15. Father and son
Father and son are together 80 years. Son is 28 years younger than father. How old is the son?
16. Class
When Pythagoras asked how many students attend the school, said: "Half of the students studying mathematics, 1/4 music, seventh silent and there are three girls at school." How many students had Pythagoras at school?
17. Opposite numbers
Calculate opposite numbers (additive inverse) to given ones: