F:n----->n
Source: 17-th Iranian Mathematical Olympiad 1999/2000
December 14, 2005
functionfloor functionalgebra proposedalgebra
Problem Statement
Suppose is a function that satisfies and
f(n + 1) =\{\begin{array}{cc} f(n)+2&\mbox{if}\ n=f(f(n)-n+1),\\f(n)+1& \mbox{Otherwise}\end {array}
Prove that is either or .
Determine.