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.

Correct result:

V1 =  1320
V2 =  1716


1320=111012  1110=10(121)=(111)(121)=110  1716=121113  1211=11(131)=(121)(131)=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)

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

We would be pleased if you find an error in the word problem, spelling mistakes, or inaccuracies and send it to us. Thank you!

Showing 0 comments:

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:

  • The Hotel
    hotel-montfort-tatry-2_2 The Holiday Hotel has the same number of rooms on each floor. Rooms are numbered with natural numbers sequentially from the first floor, no number is omitted, and each room has a different number. Three tourists arrived at the hotel. The first one was in
  • 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 prod
  • Legs
    zidle In the room are four-legged chairs, three-legged stool, and all are sitted with (one) people. I counted all the leg room and there were a total of 39. How many are there chairs, stool and people?
  • Chocolate roll
    chocholate_3 The cube of 5 cm chocolate roll weighs 30 g. How many calories will contain the same chocolate roller of a prism shape with a length of 0.5 m whose cross section is an isosceles trapezoid with bases 25 and 13 cm and legs 10 cm. You know that 100 g of this
  • Password
    codes The voltage station is every day changing the master password, which consists of three letters. Code generation process does not change and is based on the following procedure: The following letters (A) to (I) correspond to different numbers from 1 to 9.
  • Billiard balls
    balls_billiard A layer of ivory billiard balls of radius 6.35 cm is in the form of a square. The balls are arranged so that each ball is tangent to every one adjacent to it. In the spaces between sets of 4 adjacent balls other balls rest, equal in size to the original.
  • Z9-I-4
    numbers_30 Kate thought a five-digit integer. She wrote the sum of this number and its half at the first line to the workbook. On the second line wrote a total of this number and its one fifth. On the third row she wrote a sum of this number and its one nines. Final
  • Two cars on ring
    two_cars_1 There were two cars on the round track (ring) in the adjacent tracks, the first car in the inner track, the second in the outer track. Both cars started at the same time from one starting track. The first toy car drove every four laps simultaneously as th
  • Identical cubes
    cubes3 From the smallest number of identical cubes whose edge length is expressed by a natural number, can we build a block with dimensions 12dm x 16dm x 20dm?
  • Racing track
    racing_track On the racing track circling three cars. The first passes one circuit for 8 seconds, the second for 20 seconds and a third for 8 seconds. a) Calculate number of seconds since the start to catch all three cars together for the first time again across the s
  • Target
    elektronicky-terc Peter, Martin and Jirka were fire in a special target, which had only three fields with values of 12, 18 and 30 points. All boys were firing with the same number of arrows and all the arrows hit the target, and the results of every two boys differed in on
  • Loan 5
    seq_sum Abdul takes a loan of 200000 from Ali and agrees to repay in number of instalment, each instalment begin with the 2nd exceeding the previous one by 1000, if the first instalment is 500, find how many instalment will be necessary to be wipe out the loan? C
  • Milk
    cow 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.
  • Coal storage
    sklady The coal storage distribute received coal shipment within three days. The first day distribute third of the shipments, the second day of two-fifths of the rest and the third day 300 tons of coal. How many tons of coal distributed first and second day?
  • Sales of products
    cukriky_9 For 80 pieces of two quality products a total sales is 175 Eur. If the first quality product was sold for n EUR per piece (n natural number) and the second quality product after 2 EUR per piece. How many pieces of the first quality were sold?
  • Cardboard box
    karton_krabica Peter had square cardboard. The length of the pages was an integer in decimetres. He cut four squares with a side of 3 dm from the corners and made a box out of it, which fit exactly 108 cubes with an edge 1 dm long. Julia cut four squares with a side of
  • Tower model
    tower Tower height is 300 meters, weight 8000 tons. How high is the model of the tower weight 1 kg? (State the result in the centimeters). The model is made from exactly the same material as the original no numbers need to be rounded. The result is a three-digi