Let n>1∈N and a1,a2,...,an be a sequence of n natural integers. Let:b1=[n−1a2+⋯+an],bi=[n−1a1+⋯+ai−1+ai+1+⋯+an],bn=[n−1a1+⋯+an−1]Define a mapping f by f(a1,a2,⋯an)=(b1,b2,⋯,bn).a) Let g:N→N be a function such that g(1) is the number of different elements in f(a1,a2,⋯an) and g(m) is the number od different elements in fm(a1,a2,⋯an)=f(fm−1(a1,a2,⋯an));m>1. Prove that ∃k0∈N s.t. for m≥k0 the function g(m) is periodic.b) Prove that ∑m=1km(m+1)g(m)<C for all k∈N, where C is a function that doesn't depend on k.