# Which numbers were used in this sum ?

Computer Science Level 3

Suppose
$$2^{a_1} + 2^{a_2} + 2^{a_3} + \ldots + 2^{a_n} = 1627622$$
where $$a_1 , a_2 , a_3 , \ldots , a_n$$ are distinct positive integers.

What is the value of $$( a_1 + a_2 + a_3 + \ldots + a_n ) + n$$ ?

×