3 ≡ 1, 3¹ ≡ 3, 3² = 9 ≡ 9, 3³ = 27 ≡ 7, 3 = 81 ≡ 1.