MathDB
Find number of elements

Source: China TST 2003

June 29, 2006
algebra unsolvedalgebra

Problem Statement

mm and nn are positive integers. Set A={1,2,,n}A=\{ 1, 2, \cdots, n \}. Let set Bnm={(a1,a2,am)aiA,i=1,2,,m}B_{n}^{m}=\{ (a_1, a_2 \cdots, a_m) \mid a_i \in A, i= 1, 2, \cdots, m \} satisfying: (1) aiai+1n1|a_i - a_{i+1}| \neq n-1, i=1,2,,m1i=1,2, \cdots, m-1; and (2) at least three of a1,a2,,ama_1, a_2, \cdots, a_m (m3m \geq 3) are pairwise distince. Find Bnm|B_n^m| and B63|B_6^3|.