no of sequences with terms in {0,1,2,3} so that n=a_0+2a_1+2^2a_2+...+2^na_n
Source: Polish National Olympiad 2015 2nd round, p5
August 28, 2019
algebranumber theorycombinatorics
Problem Statement
Let be a positive integer.
Determine the number of sequences with terms in the set such that