MathCastle
Algebra 2Hard

Algebra 2 · Hard problem

A sequence is defined by a1=1a_1 = 1 and ak+1=3ak mod 4a_{k+1} = 3a_k \bmod 4 (the remainder when 3ak3a_k is divided by 44). What is a30a_{30}?

Practice more like this