Given a non-negative integer `n`, return an array of length n+1 where the i-th entry is the number of 1 bits in i, for i from 0 to n.