produces:
1 2 5 10 20 50 100 200 500 1000 2000 5000 10000
I've been trying to find some shorter code for this
than the $m*=(5-$m%9%2)/2; expression, but no luck.
Any ideas?
--
jiw
If you're nor absolutely looking after something strictly computational
maybe something around this cheat?
m=10^p++; printf "%d %d %d ",m,m*2,m*5;