MathDB
Periodicity of Remainder Sequence

Source:

August 8, 2024
number theory2022

Problem Statement

For an integer aa and positive integers nn and kk, let fk(a,n)f_k(a, n) be the remainder when aka^k is divided by nn. Find the largest composite integer n100n\leq 100 that guarantees the infinite sequence f1(a,n),f2(a,n),f3(a,n),,fi(a,n), f_1(a,n),f_2(a,n),f_3(a,n),\ldots,f_i(a,n),\ldots to be periodic for all integers aa (i.e., for each choice of aa, there is some positive integer TT such that fk(a,n)=fk+T(a,n)f_k(a,n) = f_{k+T}(a,n) for all kk).