← Back to Five Rings Interview Questions

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.

Hint 1

First remove the 4 km initial allowance. A journey needing part of another 3 km block is charged for the whole block.

The additional block charges form an arithmetic progression: 5, 8, 11, …, \(5+3(n-1)\). Sum that sequence rather than multiplying the last rate by all kilometres.

Check your answer

© 2026 EverythingQuant. All Rights Reserved.