Hi

Does anyone know the form of the following sequence:

0,1,0,2,
0,1,0,3,
0,1,0,2,0,1,0,4,
0,1,0,2,0,1,0,3,0,1,0,2,0,1,0,5

(in fact this sequence are the powers of two at integer numbers)
i.e.

$\displaystyle 1 = 2^0$
$\displaystyle 2 = 2^1$
$\displaystyle 3 = 2^0\cdot 3$
$\displaystyle 4 = 2^2$
$\displaystyle 5 = 2^0\cdot 5$
$\displaystyle 6 = 2^1\cdot 3$
...

As far i have found that:
$\displaystyle
A_{2^s(2n+1)}=s
$

However i havent found any relation between $\displaystyle s$ and $\displaystyle n$

Any idea?

Thank you a lot