Hello, Rimas!

Herr Vitami buys three kinds of frut for 40 shillings,10 shillings and 1 shilling each.

He pays 259 shillings for 100 peices of fruit.

How many of the cheapest type of fruit did he buy?

Let = number of 40-shilling fruit.

Let = number of 10-shilling fruit.

Let = number of 1-shilling fruit.

. . Note: are positive integers.

He bought 100 pieces of fruit: . .

He paid 259 shillings for them: .

Subtract (1) from (2): .

Solve for

Since is positive, there are only 4 choices for

. .

Hence: .

Therefore, from (1): .