Sunday Times Teaser 2541 – Lotto Luck
by H Bradley and C Higgins
Published: 5 June 2011 (link)
Chris was lucky in the lotto, winning a whole number of pounds (under £5,000), which he shared with his five children. John got £1 more than a fifth of the total; Ciaran got £1 more than a fifth of the remainder. After Ciaran got his share, Fergal got £1 more than a fifth of the remainder, and after Fergal got his share, Brendan got £1 more than a fifth of what was left. After Brendan got his share, Chris gave Grainne £1 more than a fifth of what was left and kept the remainder (a whole number of pounds).
How much did Chris keep?
4 Comments
Leave one →
Maybe way too complex but it was interesting to me..
I had to write a procedure to “solve” one equation with 2 integer variables.
Using xgcd.
I have just added a linear diophantine equation solver to my number_theory library for this type of teaser. Its new so bear in mind it needs more testing.