Unknown number

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 product of the difference the second with the first primes
and difference the third and the second prime number is a multiple of 17.

Determine the smallest number that has all the above properties.

Correct result:

n =  2014

Solution:

2014= 2 × 19 × 53
$primes = array(2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67);
for($a=0;$a<count($primes); $a++)
{
    for($b=$a+1;$b<count($primes); $b++)
    {
        for($c=$b+1;$c<count($primes); $c++)
        {
            $p1 = $primes[$a];
            $p2 = $primes[$b];
            $p3 = $primes[$c];

            if($p2-$p1 == 0.5*($p3-$p2) &&  mod(($p2-$p1)*($p3-$p2),17)==0)
            {
                $rv[$p1*$p2*$p3] = "$p1 $p2 $p3";
            }

        }
    }

}
ksort($rv);
print_r($rv);

2014=21953



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




You need to know the following knowledge to solve this word math problem:

Next similar math problems:

  • 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
  • Sugar - cuboid
    kocky_cukor 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
  • 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
  • PIN code
    pin_2 PIN on Michael credit card is a four-digit number. Michael told this to his friend: • It is a prime number - that is, a number greater than 1, which is only divisible by number one and by itself. • The first digit is larger than the second. • The second d
  • 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.
  • Snowman 2
    snowman_1 On the medal, which has the shape of a circle with a diameter 18 cm is sketched snowman so that the following requirements are met: 1. snowman is composed of three circles, 2. space over snowman is the same as under it, 3. diameters of all circles express
  • Amazing number
    numbers4 An amazing number is name for such even number, the decomposition product of prime numbers has exactly three not necessarily different factors and the sum of all its divisors is equal to twice that number. Find all amazing numbers.
  • Air draft
    numbers2_2 The numbers 1,2,3,4,5 are written on five tickets on the table. Air draft randomly shuffled the tickets and composed a 5-digit number from them. What is the probability that he passed: and, the largest possible number b, the smallest possible number c, a
  • Package
    latky_textil The package has no more than 66 m of cloth. If we just cut it all on the blouses or all on dresses, no cloth left remain. On the one blouse consumes 1.3 m of cloth and on one dress 5 m. Determine the amount of the cloth in the package.
  • Nuts, girl and boys
    orechy_nuts Milena collected fallen nuts and called a bunch of boys let them share. She took a condition: the first boy takes one nut and tenth of the rest, the second takes 2 nuts and tenth new rest, the third takes 3 nuts and tenth new rest and so on. Thus managed
  • 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?
  • 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.
  • Three digits number
    3digit From the numbers 1, 2, 3, 4, 5 create three-digit numbers that digits not repeat and number is divisible by 2. How many numbers are there?
  • Odd/even number
    numbers2_49 Pick any number. If that number is even, divide it by 2. If it's odd, multiply it by 3 and add 1. Now repeat the process with your new number. If you keep going, you'll eventually end up at 1. Every time. Prove. ..
  • Difference of two number
    squares2_6 The difference of two numbers is 20. They are positive integers greater than zero. The first number raised to one-half equals the second number. Determine the two numbers.
  • Inverted nine
    clock-night-schr In the hotel,, Inverted nine" each hotel room number is divisible by 6. How many rooms we can count with three-digit number registered by digits 1,8,7,4,9?
  • Quiz or test
    test_2 I have a quiz with 20 questions. Each question has 4 multiple choice answers, A, B, C, D. THERE IS NO WAY TO KNOW THE CORRECT ANSWER OF ANY GIVEN QUESTION, but the answers are static, in that if the "correct" answer to #1 = C, then it will always be equal