Question
A shuttle operator charges $10 for the first 4 km of a journey. Beyond that, every started 3 km block is charged in full. The first such additional block costs $5, the second $8, the third $11, and each later block costs $3 more than the one before it. The new rate applies only to that block; it never changes what earlier blocks cost.
Someone travels 17 km. What is the total fare? Give a formula for the fare for any journey that uses n additional blocks, including a partially used final block. Treat journeys of 4 km or less as costing $10.
Get hint
Hint 1
First remove the 4 km initial allowance. A journey needing part of another 3 km block is charged for the whole block.
Check your answer
Solution
The journey uses \(17-4=13\) km beyond the included 4 km. At 3 km per started block, the number of additional blocks is \(n=\lceil13/3\rceil=5\). They cover four complete 3 km blocks and a fifth block with 1 km used. The tariff explicitly bills the partial block in full.
The five additional charges are \(\$5+\$8+\$11+\$14+\$17=\$55\). Together with the initial $10, the fare is $65.
For \(n\ge0\) additional blocks the \(j\)-th charge is \(5+3(j-1)\) dollars, so
\[\begin{aligned}\operatorname{Fare}(n)&=10+\sum_{j=1}^{n}[5+3(j-1)]\\&=\mathbf{10+5n+3n(n-1)/2}\text{ dollars}.\end{aligned}\]
For journey length \(d\) km the prescribed count is \(n=\lceil\max(d-4,0)/3\rceil\), including \(n=0\) when \(d\le4\). Substitution of \(n=5\) gives \(10+25+30=65\). Charging the final kilometre proportionally, or retrospectively pricing every previous block at $17, would contradict the stated tariff.
Assumptions
The first 4 km costs exactly $10, even on shorter journeys.
Every started subsequent block incurs its complete charge.
Additional block prices increase arithmetically by $3 each, with no retrospective repricing.
Final Answer
$65. For \(n\) additional started blocks, the fare is $10 + \(5n+\frac{3n(n-1)}{2}\), where \(n=\lceil\max(d-4,0)/3\rceil\) for journey length \(d\) in km.