Subcontests
(8)A two-variable functional equation
Let f:Z2→Z be a function satisfying
f(x+1,y)+f(x,y+1)+1=f(x,y)+f(x+1,y+1)
for all integers x and y. Can it happen that ∣f(x,y)∣≤2024 for all x,y∈Z? Weird function on subsets
Let n be a positive integer. Suppose for any S⊆{1,2,⋯,n}, f(S) is the set containing all positive integers at most n that have an odd number of factors in S. How many subsets of {1,2,⋯,n} can be turned into {1} after finitely many (possibly zero) applications of f?