MathCastle
Pre-CalculusHardAdvanced Number Theory

Advanced Number Theory · Hard problem

Let NN be the number of ordered pairs (a,b)(a, b) of integers with 1≤a≤1001 \le a \le 100 and 1≤b≤1001 \le b \le 100 for which ab−1a^b - 1 is divisible by 77. Find the remainder when NN is divided by 10001000.