Source: 2nd National Women's Contest of Mexican Mathematics Olympiad 2023 , level 1+2 p4
July 22, 2023
functional equationalgebra
Problem Statement
A function g is such that for all integer n:
g(n)={1ifn≥10ifn≤0A function f is such that for all integers n≥0 and m≥0:
f(0,m)=0andf(n+1,m)=(1−g(m)+g(m)⋅g(m−1−f(n,m)))⋅(1+f(n,m))Find all the possible functions f(m,n) that satisfies the above for all integers n≥0 and m≥0