1 2 32 4 512 by %20

1.upto(?d){|a|b=1;b*=2until/^#{a}/.match b.to_s;p b}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page