Determine the number of permutations (p
1, p
2,...p
7) of 1,2, ...7; such that for all k 1≤k≤6, (p
1, p
2,... p
k)
is not a permutation of (1,2, ...k); i.e., p
1≠1; (p
1, p
2) is not a permutation of (1,2), etc.
What would be the answer if we specify 1≤k<6 instead?