n= ax + by iff n, f(n) = n - n_a - n_b, f(f(n)),.. \in N
Source: JBMO Shortlist 2007 N4
October 14, 2017
JBMOnumber theoryremainder
Problem Statement
Let be two co-prime positive integers. A number is called good if it can be written in the form for non-negative integers . Define the function as , where represents the remainder of upon division by . Show that an integer is good if and only if the infinite sequence contains only non-negative integers.