MathDB
0521 functional in N 5th edition Round 2 p1

Source:

May 6, 2021
functional equation5th edition

Problem Statement

For what positive integers kk there exists a function f:NNf : N \to N such that for all nNn \in N we have
f(f(... f(n)....))k times=f(n)+2\underbrace{\hbox{f(f(... f(n)....))}}_{\hbox{k times}} = f(n) + 2 ?