Find how many positive integers with exactly four decimal digits, that is, positive integers between 1000 and 9999 inclusive, have the following properties:

(a) are divisible by 5 and by 7.
(b) are divisible by 7.
(c) are even.
(d) are divisible by 5 but not by 7.

Respuesta :

Answer:

(a) There are 257 numbers which are divisible by 5 and by 7

(b) There are 1286 numbers which are divisible by 7

(c) There are 4500 even numbers

(d) There are 514 numbers which are divisible by 5 but not by 7

Step-by-step explanation:

(a) Since, LCM(5, 7) = 35,

Thus, the numbers divisible by 5 and by 7 between 1000 and 9999,

1015, 1050, 1085............, 9975

Which is an AP,

Having first term, a = 1015,

Common difference, d = 35,

Last term, l = 9975

If n be the number of terms,

[tex]\because l = a + (n-1)d[/tex]

[tex]9975 = 1015 + (n-1)35[/tex]

[tex]9975 - 1015 = (n-1)35[/tex]

[tex]8960 = (n-1)35[/tex]

[tex]256 = n-1[/tex]

[tex]\implies n = 256 + 1 = 257[/tex]

(b) Similarly,  number divisible by 7,

1001, 1008, 1015............, 9996

Here, a = 1001, d = 7, l = 9996

[tex]9996 = 1001 + (n-1)7[/tex]

[tex]9996 - 1001 = (n-1)7[/tex]

[tex]8995 = (n-1)7[/tex]

[tex]1285 = n-1[/tex]

[tex]\implies n = 1285 + 1 = 1286[/tex]

(c) Even numbers between 1000 and 9999 inclusive

1000, 1002, 1004, 1006,........9998

Here, a = 1000, d = 2, l = 9998

[tex]9998 = 1000 + (n-1)2[/tex]

[tex]9998 - 1000 = (n-1)2[/tex]

[tex]8998 = (n-1)2[/tex]

[tex]4499 = n-1[/tex]

[tex]\implies n = 4499 + 1 = 4500[/tex]

(d) Number divisible by 5,

1000, 1005, 1010............, 9995

Here, a = 1000, d = 5, l = 9995

[tex]9995 = 1000 + (n-1)5[/tex]

[tex]9995 - 1000 = (n-1)5[/tex]

[tex]8995 = (n-1)5[/tex]

[tex]1799 = n-1[/tex]

[tex]\implies n = 1799 + 1 = 1800[/tex]

Hence, the number divisible by 5 but not by 7 = numbers divisible by 5 - number divisible by 7

= 1800 - 1286

= 514