MathDB
Determine a and b in a game

Source:

August 29, 2010
combinatorics proposedcombinatorics

Problem Statement

A one-person game with two possible outcomes is played as follows: After each play, the player receives either aa or bb points, where aa and bb are integers with 0<b<a<19860 < b < a < 1986. The game is played as many times as one wishes and the total score of the game is defined as the sum of points received after successive plays. It is observed that every integer x1986x \geq 1986 can be obtained as the total score whereas 19851985 and 663663 cannot. Determine aa and b.b.