
i=0
while true
do
	echo "2^$i"
	i=`expr 1 + $i`
done | 
bc |
sed 's/[0-9]/&+/g' |
sed 's/[+]$//' |
bc

