MathDB
Find all {a_n}

Source: 2016 Korea Winter Program Test1 Day2 #5

January 25, 2016
algebraalgebra proposedInteger sequencenumber theory

Problem Statement

Find all {an}n0\{a_n\}_{n\ge 0} that satisfies the following conditions.
(1) anZa_n\in \mathbb{Z} (2) a0=0,a1=1a_0=0, a_1=1 (3) For infinitly many mm, am=ma_m=m (4) For every n2n\ge2, {2aiai1i=1,2,3,,n}{0,1,2,,n1}\{2a_i-a_{i-1} | i=1, 2, 3, \cdots , n\}\equiv \{0, 1, 2, \cdots , n-1\} modn\mod n