MathDB
parity of #1s in binary expansion

Source: Putnam 1984 B5

September 10, 2021
number theory

Problem Statement

For each nonnegative integer kk, let d(k)d(k) denote the number of 11's in the binary expansion of kk. Let mm be a positive integer. Express k=02m1(1)d(k)km\sum_{k=0}^{2^m-1}(-1)^{d(k)}k^min the form (1)maf(m)g(m)!(-1)^ma^{f(m)}g(m)!, where aa is an integer and ff and gg are polynomials.