Let a1,a2,⋯,an and b1,b2,⋯,bn be (not necessarily distinct) positive integers. We continue the sequences as follows: For every i>n, ai is the smallest positive integer which is not among b1,b2,⋯,bi−1, and bi is the smallest positive integer which is not among a1,a2,⋯,ai−1. Prove that there exists N such that for every i>N we have ai=bi or for every i>N we have ai+1=ai. number theory with sequencesLotfi Zadeh MO