1.upto(?d){|n|a=1;a*=2until/^#{n}/=~a.to_s;p a}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page