MathDB
Number of sequences

Source: QEDMO 2005

November 8, 2005
combinatorics proposedcombinatorics

Problem Statement

Let nn be a positive integer. Find the number of sequences a1,a2,...,aka_1,a_2,...,a_k of different numbers from {1,2,3,...,n}\{ 1,2,3,...,n\} with the following property: for every number aa of the sequence (except the first one) there exists a previous number bb such that their difference is 11 (so ab=±1a-b= \pm 1)