Numbers

Write smallest three-digit number, which in division 5 and 7 gives the rest 2.

Correct result:

x =  107

Solution:

for($i=100;$i<999;$i++)
{
    if($i%5==2 && $i%7==2)
    {
	break;
    }
}




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...):

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




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

Next similar math problems:

  • 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
  • Divisible by 5
    175px-5th_MarDiv How many three-digit odd numbers divisible by 5, which are in place ten's number 3?
  • 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.
  • Combinations
    circles How many different combinations of two-digit number divisible by 4 arises from the digits 3, 5 and 7?
  • 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.
  • Chebyshev formula
    ChebyshevSpiral To estimate the number of primes less than x is used Chebyshev formula: ? Estimate the number of primes less than 30300537.
  • Trees
    tree_1 A certain species of tree grows an average of 0.5 cm per week. Write an equation for the sequence that represents the weekly height of this tree in centimeters if the measurements begin when the tree is 200 centimeters tall.
  • Volleyball
    volejbal 8 girls wants to play volleyball against boys. On the field at one time can be six players per team. How many initial teams of this girls may trainer to choose?
  • Percentage increase
    percent_31 Increase number 400 by 3.5%
  • Factory and divisions
    factory_2 The factory consists of three auxiliary divisions total 2,406 employees. The second division has 76 employees less than 1st division and 3rd division has 212 employees more than the 2nd. How many employees has each division?
  • Seamstress 2
    krajcirka_1 Seamstress bought two kinds of textile in whole meters. One at 50 SKK and the second 70 SKK per meter. How many meter bought from this two textiles when paid totally 1540 SKK?
  • 6 terms
    arithmet_seq Find the first six terms of the sequence. a1 = 7, an = an-1 + 6
  • Two equations
    children_23 Solve equations (use adding and subtracting of linear equations): -4x+11y=5 6x-11y=-5
  • Functions f,g
    linear_eq_4 Find g(1) if g(x) = 3x - x2 Find f(5) if f(x) = x + 1/2
  • Linear system
    linear_eq_2 Solve a set of two equations of two unknowns: 1.5x+1.2y=0.6 0.8x-0.2y=2
  • One half
    one_half One half of ? is: ?
  • Nineteenth member
    seq_sum_1 Find the nineteenth member of the arithmetic sequence: a1=33 d=5 find a19