Total three digit numbers =900 [ from 100 to 999]
Number of three digit numbers divisible by 3=300
Probability that the number written by the student is divisible by 3
=Number of three-digit numbers divisible by 3Total three-digit numbers
=300900=13
Way to find total 3 digit numbers divisible by 3:
First 3 digits number divisible by 3=102
so the series will be 102,105,108,.........999
Last term which is divisible by 3=999
The above series is in AP.
We know the nth of an AP is given by
an=a+(n−1)d [Here, a= first term =102, d=common difference =105−102=3]
999=102+(n−1)3 [Let an=999]
⇒299=n−1
∴n=300
there are 300 three digit numbers which are divisible by 3.