A one-way ticket costs $2. A 30-day pass costs $50. What's the minimum number of rides you will need to take every month so that the 30-day pass is strictly cheaper per ride?
For the 30-day pass to be cheaper, then the average fare should be cheaper than the $2 one-way ticket.
If the 30-day pass costs $50, then I should take at least $50/$2=
<gadget id="calculator">50/2</gadget>
<output>25</output>
25 rides to pay the same as a one-way ticket.
However, given that we want the 30-day pass per ride to be strictly cheaper we should ride at least 25+1=26 times.

<result>26</result>