Sequence problem
Source: Azerbaijan Math Olympiad Training
December 14, 2019
number theoryTST
Problem Statement
Define a sequence such that , and is the smallest positive integer such that hasn't yet occurred in the sequence and also . Show that all positive integers occur in the sequence.