Friday, February 17, 2006

pi in base 79

digits are 0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

fortunately the decimal point is not among the digits.

3.;>egIm`:=_c3E>}c]f4r5He@DfV<TP<04h>8;tq1MFlFfvYv9ZSn|9yX6|2^AV? <h`W^mKp\25a[aFlS:\uLPq<YIzwjM}afXC] Kv|=VqEZmR\D`I=~dM2f6Q9WY?rHbb7h7[_?[RBP=k:SC

see also pi in base 72.

echo 'obase=79; scale=2000; 4*a(1)' | bc -l | perl -pwe 's/\\\n//;s/\./ /' | perl -plwae '$_=""; for$i(@F) {$_.=chr($i+48)} s/^(.)/$1./'

sqrt(2) begins 1.Pi

No comments :