D2b

Binary to decimal
D2B=({0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}{0..1}) echo $((10#${D2B[$1]}))
 * 1) ! /bin/bash