#!/bin/sh for POW in $(seq ${1:-20}) do echo "2**$POW=$((2**POW))" done