Comment Re:Something I learned from Martin Gardner... (Score 1) 676
Or try with
perl -Mbignum=p,-1900 -e '$num=shift||1; for(;;){print ++$i,"\t",($num=1/$num+1),"\n";}' 5678
to see how it really converges. Works best on a 80x25 terminal. Use -950 or -400 instead of -1900 if your CPU feels too slow.
perl -Mbignum=p,-1900 -e '$num=shift||1; for(;;){print ++$i,"\t",($num=1/$num+1),"\n";}' 5678
to see how it really converges. Works best on a 80x25 terminal. Use -950 or -400 instead of -1900 if your CPU feels too slow.