All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Numbers
Country With n Cities (Posted on 2024-08-25) Difficulty: 3 of 5
In a country with n cities, there is a recurrent one -way flight between every pair of cities. Every flight has a constant price in the range $100, $120, $140, $160, $180.

A $N flight ticket gives unlimited access to flights that cost $N, and tickets can be traded for tickets of lower prices.

For example, with a $160 ticket, Brad could take a $160 ticket, trade his ticket for a $120 ticket, then take a $120 flight.

Alice loves flying and wonders how many successive flights she can take with one ticket.

Determine the minimum value of n needed to guarantee, that she can take 4 such flights.

No Solution Yet Submitted by K Sengupta    
Rating: 2.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Question I do not understand | Comment 1 of 3
I must be missing something.

Alice should buy the highest priced ticket available

If n = 2, Alice can take an unlimited number of flights back and forth between the two cities

If the flights must be unique and the end point of one flight must be the starting point of the next, then n=4, allows for a trip of 5 flights.

  Posted by Steve Herman on 2024-08-26 07:19:10
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information