The number of multiples of 3 less than 200 is \(\lfloor 200/3 \rfloor\). Why?
you know what floor function is ?
How does floor function even do that? Yes I do
You disinclude the remainder. Wait, is that a hint?
because the number of multiples is an INTEGER and is just less than 200/.3
200/3
say, no. of multiples of 3 less than 10 =3 = floor(10/3)=floor(3.3333)=3
Hmm... can you do that with any number?
yes....
for 'no. of multiples less than'
I mean, can you generalize it to this: The number of multiples of \(a\) less than \(b\) is \(\lfloor b/a\rfloor\)
And will that list include zero?
absolutely. for a,b >0 and make it less than = to
0 for what ?and no, list won't contain 0
Okay, so I can just add 1 if I want the number of non-negative multiples.
Thank you, I'd post a related question now.
Join our real-time social learning platform and learn together with your friends!