MathDB
BMT 2022 Fall Discrete P8

Source:

May 6, 2023
recursionDiscrete

Problem Statement

Define the two sequences a0,a1,a2,a_0, a_1, a_2, \cdots and b0,b1,b2,b_0, b_1, b_2, \cdots by a0=3a_0 = 3 and b0=1b_0 = 1 with the recurrence relations an+1=3an+bna_{n+1} = 3a_n + b_n and bn+1=3bnanb_{n+1} = 3b_n - a_n for all nonnegative integers n.n. Let rr and ss be the remainders when a32a_{32} and b32b_{32} are divided by 31,31, respectively. Compute 100r+s.100r + s.