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

Source:

May 21, 2024
number theory

Problem Statement

The currency exchange trades dinars (D), guilders (G), reals (R) and thalers (T). Exchange players have the right to make a purchase and sale transaction with each pair of currencies no more than once a 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 player had 3232 dinars. What is the maximum number that he can receive by evening a) in dinars? b) in thalers ?