for n in {0..313}; do
	if [[ $(bash <(printf %s 'seq -s "" 0 $1|egrep ^.{$1}0') $n) ]]; then
		echo $n
	fi
done