Problems(1)
Let m and n be two natural numbers and let d=gcd(m,n) their greatest common divisor.
Let a1,a2,... and b1,b2,... be two sequences of integers which are periodic with periods m and n respectively (this means that ai+m=ai and bi+n=bi for all natural numbers i≥1, note that there could be smaller periods).
Prove that if the two sequences on the first m+n−d terms match (i.e. ai=bi for all i∈{1,2,...,m+n−d}), then they are the same (so ai=bi for all natural i≥1). algebraperiodic