MathDB
Spring 2020 Team Round Problem 11

Source:

August 22, 2020

Problem Statement

Let set S\mathcal{S} contain all positive integers less than or equal to 20202020 that can be written in the form n(n+1)n(n+1) for some positive integer nn. Compute the number of ordered pairs (a,b)(a,b) such that a,bSa, b\in \mathcal{S} and aba-b is a power of two.