Count of Multiples of 2 or 7 in 999

  • MHB
  • Thread starter sabsac
  • Start date
  • Tags
    Count
In summary, in order to find the count of multiples of 2 or 7 for all natural numbers less than or equal to 999, we first calculate the number of multiples of 2 and 7 separately, which are 499 and 142 respectively. However, since this includes the multiples of 14 being counted twice, we need to subtract the number of multiples of 14 (71) from the total count (641) to get the final answer of 570.
  • #1
sabsac
4
0
Find the count of multiples of 2;or 7, for all natural numbers less than or equal to 999.
 
Mathematics news on Phys.org
  • #2
There are integer part of 999/2= 499 even numbers les than or equal to 999. There are integer part of 999/7= 142 multiples of 7 less than or equal to 999. But 499+ 142= [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]1141 is too larger because it counts multiples of 14 twice. We need to subtract integer part of 999/14= 71 to account for that.[/FONT]
 
  • #3
the answer provided is 570 which is the difference between 641 and 71. that difference between the total count of multiples of 2 and 7.
 
  • #4
HallsofIvy said:
There are integer part of 999/2= 499 even numbers les than or equal to 999. There are integer part of 999/7= 142 multiples of 7 less than or equal to 999. But 499+ 142= 1141 is too larger because it counts multiples of 14 twice. We need to subtract integer part of 999/14= 71 to account for that.
Mathematicians often have trouble with simple arithmetic! :rolleyes:
 
  • #5
so can you once again explain how we arrived at the value 71 and why we had to subtract it from 641?
 
  • #6
multiples of 2 less than 999 ...

2(1), 2(2), 2(3), ... , 2(499)

multiples of 7 less than 999 ...

7(1), 7(2), 7(3), ... , 7(142)

multiples of 14 less than 999 which are common to both lists above ...

14(1), 14(2), 14(3), ... , 14(71)
number of multiples of 2 or 7 that are less than 999 =

(multiples of 2)+(multiples of 7)-(number of values that are multiples of both 2 and 7) =

499+142-71
 
  • #7
Thanks for clarifying.
 

Similar threads

Replies
7
Views
2K
Replies
2
Views
3K
Replies
7
Views
3K
Replies
6
Views
3K
Replies
10
Views
2K
Replies
11
Views
3K
Replies
2
Views
2K
Replies
2
Views
2K
Back
Top