There are 33 numbers between 200 and 300 that are divisible by three.
There are 22 such numbers.
100 ÷ 6 = 16 r 4 so the first whole number between 100 and 200 divisible by 6 is 6 x 17 (= 102) 200 ÷ 6 = 33 r 2 so the last whole number between 100 and 200 divisible by 6 is 6 x 33 (= 198) So the whole numbers between 100 and 200 divisible by 6 are the multiples of 6 from 17 to 33 which are: 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168, 174, 180, 186, 192 and 198.
The numbers between 100 and 200 that are divisible by three but not by two are: 105, 111, 117, 123, 129, 135, 141, 147, 153, 159, 165, 171, 177, 183, 189 and 195.
The number is 115.
There are 33 numbers between 200 and 300 that are divisible by three.
It is 120, 150, and 180.
A number that is divisible by 4 and 6 must be divisible by the LCM of 4 and 6 which is 12. 100/12 = 8.33 200/12 = 16.67 So, there are 16 numbers below 200 that are divisible by 4 and 6 and, of these, 8 are smaller than 100. That gives 16 - 8 = 8 between 100 and 200.
There are 22 such numbers.
12. 13, if you count 200
200
There are 5 multiples of 18 between 200 and 300. (An even number divisible by 9 is any number divisible by 18).
public class TestMain { /** * @param args */ public static final void main(String[] args) { int sum = 0; int count = 0; for (int i = 100; i <= 200; i++){ if(i%7 == 0){ count++; sum = sum + i; System.out.println("The number is: " + i); } } System.out.println("Number of values divisible by 7 between 100 and 200 is: " + count); System.out.println("Sum of values divisible by 7 between 100 and 200 is: " + sum); } } Output: The number is: 105 The number is: 112 The number is: 119 The number is: 126 The number is: 133 The number is: 140 The number is: 147 The number is: 154 The number is: 161 The number is: 168 The number is: 175 The number is: 182 The number is: 189 The number is: 196 Number of values divisible by 7 between 100 and 200 is: 14 Sum of values divisible by 7 between 100 and 200 is: 2107
100 ÷ 6 = 16 r 4 so the first whole number between 100 and 200 divisible by 6 is 6 x 17 (= 102) 200 ÷ 6 = 33 r 2 so the last whole number between 100 and 200 divisible by 6 is 6 x 33 (= 198) So the whole numbers between 100 and 200 divisible by 6 are the multiples of 6 from 17 to 33 which are: 102, 108, 114, 120, 126, 132, 138, 144, 150, 156, 162, 168, 174, 180, 186, 192 and 198.
Because the smallest such number is 210.
150
14 of them