The equation f(m+n)=f(m)+f(n) is Cauchy’s functional equation.
For natural numbers, this implies f(n)=c⋅n.
Given f(1)=1, we find c=1.f(n)=n.
∑k=12022f(λ+k)=∑k=12022(λ+k)
2022λ+22022(2022+1)=2022λ+1011(2023)
inequality:
2022λ+1011(2023)≤(2022)2
λ+22023≤2022
λ+1011.5≤2022
λ≤1010.5
Since λ must be a natural number, the largest value is 1010