(GDR3) Find the number of permutations a1,⋯,an of the set {1,2,...,n} such that ∣ai−ai+1∣=1 for all i=1,2,...,n−1. Find a recurrence formula and evaluate the number of such permutations for n≤6. combinatoricscountingrecurrence relationpermutationsIMO ShortlistIMO Longlist