MathDB
GCD Isn't 1

Source: 2021 AIME II #9

March 19, 2021
number theorygreatest common divisorAMCAIMEAIME II

Problem Statement

Find the number of ordered pairs (m,n)(m, n) such that mm and nn are positive integers in the set {1,2,...,30}\{1, 2, ..., 30\} and the greatest common divisor of 2m+12^m + 1 and 2nāˆ’12^n - 1 is not 1.1.