1.
If f(x)=2f(x) = 2 for all xRx \in \mathbb{R}, and f(1)+f(2)+f(3)++f(n)=2022f(1) + f(2) + f(3) + \dots + f(n) = 2022, then nn is equal to