parity of #1s in binary expansion
Source: Putnam 1984 B5
September 10, 2021
number theory
Problem Statement
For each nonnegative integer , let denote the number of 's in the binary expansion of . Let be a positive integer. Express
in the form , where is an integer and and are polynomials.