#!/bin/bash
# print table of powers of two, from 0 through N
if [ -z "$1" ]
then
echo need parameter
exit 1
fi

n=0
for i in `seq $n $1`
do
	n=$i
	echo "2^$n" | bc
done
