Numbers

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

Result

x =  107

Solution:

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

Leave us a comment of this math problem and its solution (i.e. if it is still somewhat unclear...): Be the first to comment! Next similar math problems:

1. 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 produ
2. Divisible by 5 How many three-digit odd numbers divisible by 5, which are in place ten's number 3?
3. Amazing number 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.
4. Combinations How many different combinations of two-digit number divisible by 4 arises from the digits 3, 5 and 7?
5. Divisors The sum of all divisors unknown odd number is 2112. Determine sum of all divisors of number which is twice of unknown numbers.
6. Chebyshev formula To estimate the number of primes less than x is used Chebyshev formula: ? Estimate the number of primes less than 30300537.
7. Trees 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.
8. Theorem prove We want to prove the sentence: If the natural number n is divisible by six, then n is divisible by three. From what assumption we started?
9. Volleyball 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?
10. Seamstress 2 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?
11. Two equations Solve equations (use adding and subtracting of linear equations): -4x+11y=5 6x-11y=-5
12. Functions f,g Find g(1) if g(x) = 3x - x2 Find f(5) if f(x) = x + 1/2
13. Nineteenth member Find the nineteenth member of the arithmetic sequence: a1=33 d=5 find a19
14. One half One half of ? is: ?
15. Powers Express the expression ? as the n-th power of the base 10.
16. 6 terms Find the first six terms of the sequence. a1 = 7, an = an-1 + 6
17. Linear system Solve a set of two equations of two unknowns: 1.5x+1.2y=0.6 0.8x-0.2y=2