MathDB
D=6G, D=25R, D=120T, G=4R, G=21T, R=5T- VI Soros Olympiad 1999-00 Round 1 11.5

Source:

May 21, 2024
number theory

Problem Statement

At the currency exchange of the island of Luck they sell dinars (D), guilders (G), reals (R) and thalers (T). Stock brokers have the right to make a purchase and sale transaction with any pair of currencies no more than once per day. The exchange rates are as follows: D=6GD = 6G, D=25RD = 25R, D=120TD = 120T, G=4RG = 4R, G=21TG = 21T, R=5TR = 5T. For example, the entry D=6GD = 6G means that 11 dinar can be bought for 66 guilders (or 66 guilders can be sold for 11 dinar). In the morning the broker had 8080 dinars, 100100 guilders, 100100 reals and 50,40050,400 thalers. In the evening he had the same number of dinars and thalers. What is the maximum value of this number?