[tex]\displaystyle\bf\\Pasul~1:\\Descompunem~fiecare~numar~in~suma~de~puteri~ale~lui~2,\\in~ordine~descrescatoare\\\\Pasul~2:\\Inlocuim~fiecare~putere~a~lui~2~prezenta~cu~1~si~absenta~cu~0.\\\\Rezolvare:\\\\15=8+4+2+1=2^3+2^2+2^1+2^0=1111\\\\17=16+1=2^4+2^0=10001\\\\29=16+8+4+1=2^4+2^3+2^2+2^0=11101\\\\162=128+32+2=2^7+2^5+2^1=10100010[/tex]