a_1 = 1, a_n = n - 2 if $a_{n-1} = 0 and a_n = a_{n-1} - 1 , otherwise
Source: 2016 Saudi Arabia IMO TST , level 4, III p1
July 29, 2020
Sequencealgebrarecurrence relation
Problem Statement
Define the sequence as follows: , and for every , if and , otherwise. Find the number of such that there are non-negative integers and a positive integer satisfying and .