how many different positive integers less than 1000 are divisible by 3 or 5 or 7?

i've got an answer, but i'd like to see another person's approach.

Printable View

- December 14th 2009, 05:55 AMjmedsydivisibility/combinations problem
how many different positive integers less than 1000 are divisible by 3 or 5 or 7?

i've got an answer, but i'd like to see another person's approach. - December 14th 2009, 07:22 AMSirOJ
I just wrote up a quick java algorithim to solve this and got 544 numbers divisible by 3,5, or 7 if that's any use to you...

- December 14th 2009, 07:38 AMPlato
- December 14th 2009, 05:17 PMjmedsy
- December 14th 2009, 05:26 PMPlato
- December 14th 2009, 05:29 PMjmedsy
- December 14th 2009, 06:19 PMPlato
You must understand the

princple to understand the solution.*inclusion/exclusion*

- December 14th 2009, 06:24 PMjmedsy