How many integers exist in the interval , such that is divisible by 7?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
2 n ≡ 2 , 4 , 1 ( m o d 7 )
4 n ≡ 4 , 2 , 1 ( m o d 7 )
1 n ≡ 1 , 1 , 1 ( m o d 7 )
∴ 4 n + 2 n + 1 n ≡ 0 , 0 , 3 ( m o d 7 )
Clearly 4 n + 2 n + 1 n is a not multiple of 7 whenever n is multiple of 3
So subtract number of multiples of 3 in the range 1 ≤ n ≤ 9 9 9 i.e. 3 3 3
∴ 9 9 9 − 3 3 3 = 6 6 6 .