Hello, dear Prologians,
Can anyone suggest a solution to the following enigma?
“All stations of Line L sell tickets for all other stations. If a few stations are added, it will be necessary to print 46 additional tickets. What is the exact number of these “few stations” and how many stations were there before?”
Here is a possible hint to begin:
If : Number of types of tickets = x(x-1)
then : Number of types of tickets + 46 = (x+y)(x+y-1)
(y = a few additional stations, then “y” must be a positive integer >= 2)
then : x = 23/y – y/2 + 1/2
…
I would very much appreciate your help in solving this enigma.