A Japanese counting system by jingoro

#!ruby -n
5.times{|i|n=$_.to_i-1;puts ([4]*(n/5)<<n%5).map{|k|"\xfe\x00\x00\x00\x1f\xc4\x08\x10\x03\xf8\x81\xc2\x00\x7f\x10\xb9@\x0f\xe2\x17(\xfe".unpack('B*')[0][k*35+i*7,7].tr'10','* '}*' '}

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

download

return to the top page