Positive integers representable as sum and difference of powers of 2
Source: Bulgarian Spring Tournament 2023 11.3
March 25, 2023
number theory
Problem Statement
A positive integer is called good if there exist positive integers such that . Find the number of the good integers.