Putnam 2009 B3
Source:
December 7, 2009
Putnamfloor functionarithmetic sequencecollege contests
Problem Statement
Call a subset of mediocre if it has the following property: Whenever and are elements of whose average is an integer, that average is also an element of Let be the number of mediocre subsets of [For instance, every subset of except is mediocre, so A(3)\equal{}7.] Find all positive integers such that A(n\plus{}2)\minus{}2A(n\plus{}1)\plus{}A(n)\equal{}1.