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.


V1 =  1320
V2 =  1716


Solution in text V__1 =
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)

            if($a*$b == ($c-1)*$b && ($c-1)*$b == ($a-1)*($c-1))
                echo "$V = $a * $b * $c <br>";

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

Showing 0 comments:
1st comment
Be the first to comment!

Tip: Our volume units converter will help you with converion of volume units. Do you solve Diofant problems and looking for a calculator of Diofant integer equations?

Next similar examples:

  1. Cuboid and ratio
    kvader Cuboid has dimensions in ratio 1:2:6 and the surface area of the cuboid is 1000 dm2. Calculate the volume of the cuboid.
  2. Volume increase
    basen_6 How many percent will increase in the pool 50 m, width 15m if the level rises from 1m to 150cm?
  3. Juice box 2
    pfanner-ananas 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 the
  4. Digging
    Dighole 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 ?
  5. Swimming pool
    basen 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. Tray
    vanicka 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.
  7. Theorem prove
    thales_1 We want to prove the sentense: If the natural number n is divisible by six, then n is divisible by three. From what assumption we started?
  8. Unknown number
    unknown Unknown number is divisible by exactly three different primes. When we compare these primes in ascending order, the following applies: • Difference first and second prime number is half the difference between the third and second prime numbers. • The produ
  9. Basket of fruit
    hrusky_jablka In six baskets, the seller has fruit. In individual baskets, there are only apples or just pears with the following number of fruits: 5,6,12,14,23 and 29. "If I sell this basket," the salesman thinks, "then I will have just as many apples as a pear." Which
  10. Gasholder
    gas_holder The gasholder has spherical shape with a diameter 20 m. How many m3 can hold in?
  11. Sportsman
    lungs 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. Gasoline
    kanyster 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.
  13. Divisors
    divisors The sum of all divisors unknown odd number is 2112. Determine sum of all divisors of number which is twice of unknown numbers.
  14. Candies
    bonbon 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. Antennas
    antenas If you give me two antennas will be same. If you give me again your two antenna I have a 5× so many than you. How many antennas have both mans?
  16. Numbers
    primes Write smallest three-digit number, which in division 5 and 7 gives the rest 2.
  17. The dice
    hracia-kocka What is the probability of events that if we throw a dice is rolled less than 6?