# 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 example and its solution (i.e. if it is still somewhat unclear...):

Be the first to comment!

## Next similar examples:

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. 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?
8. 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?
9. Factory and divisions
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?
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. One half
One half of ? is: ?
13. Functions f,g
Find g(1) if g(x) = 3x - x2 Find f(5) if f(x) = x + 1/2
14. Linear system
Solve a set of two equations of two unknowns: 1.5x+1.2y=0.6 0.8x-0.2y=2
15. Powers
Express the expression ? as the n-th power of the base 10.
16. Nineteenth member
Find the nineteenth member of the arithmetic sequence: a1=33 d=5 find a19
17. First man
What is the likelihood of a random event where are five men and seven women first will leave the man?