try substituting values for a.
for a=1, 2 it's > 50
for a=3, 4, 5, 6, 7... it's less than 50
when a approaches 48, 49... it's > 50
the max value of a that satisfies the condition is 47.
p= total numbers between 3 and 47 (inclusive of 3 and 47)
/
total numbers between 1 and 100
= 45/98
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.