Problem

Source: EMC 2024 Problem 1, seniors

Tags: graph theory, Zsigmondy, number theory



We call a pair of distinct numbers $(a, b)$ a binary pair if $ab+1$ is a power of two. Given a set $S$ of $n$ positive integers, what is the maximum possible numbers of binary pairs in S?