For a positive integer n, Sn is the set of positive integer n-tuples (a1,a2,⋯,an) which satisfies the following.(i). a1=1.(ii). ai+1≤ai+1.For k≤n, define Nk as the number of n-tuples (a1,a2,⋯an)∈Sn such that ak=1,ak+1=2.Find the sum N1+N2+⋯Nk−1.