Rob Warnock wrote:
> > (defparameter *digits* (apply 'concatenate 'string
> (loop for i below 10
> collect "0123456789")))
> > (loop for i below 20
> for col = (+ 20 (round (* 8 (sin (* i pi 1/4))))) do
> (format t "~&~A = ~32T~D chars~%" (subseq *digits* 0 col) col))
>
>
> 01234567890123456789 = 20 chars
> 01234567890123456789012345 = 26 chars
> 0123456789012345678901234567 = 28 chars
> 01234567890123456789012345 = 26 chars
> 01234567890123456789 = 20 chars
> 01234567890123 = 14 chars
> 012345678901 = 12 chars
> 01234567890123 = 14 chars
> 01234567890123456789 = 20 chars
> 01234567890123456789012345 = 26 chars
> 0123456789012345678901234567 = 28 chars
> 01234567890123456789012345 = 26 chars
> 01234567890123456789 = 20 chars
> 01234567890123 = 14 chars
> 012345678901 = 12 chars
> 01234567890123 = 14 chars
> 01234567890123456789 = 20 chars
> 01234567890123456789012345 = 26 chars
> 0123456789012345678901234567 = 28 chars
> 01234567890123456789012345 = 26 chars
(require srfi/42) ; do-ec
(require srfi/13) ; xsubstring
(do-ec (: i 20)
(let ((n (exact-round (+ 20 (* 8 (sin (* (/ pi 4) i)))))))
(printf "~a~a chars\n"
(~a (xsubstring "0123456789" 0 n) " =" #:width 32) n)))
01234567890123456789 = 20 chars
01234567890123456789012345 = 26 chars
0123456789012345678901234567 = 28 chars
01234567890123456789012345 = 26 chars
01234567890123456789 = 20 chars
01234567890123 = 14 chars
012345678901 = 12 chars
01234567890123 = 14 chars
01234567890123456789 = 20 chars
01234567890123456789012345 = 26 chars
0123456789012345678901234567 = 28 chars
01234567890123456789012345 = 26 chars
01234567890123456789 = 20 chars
01234567890123 = 14 chars
012345678901 = 12 chars
01234567890123 = 14 chars
01234567890123456789 = 20 chars
01234567890123456789012345 = 26 chars
0123456789012345678901234567 = 28 chars
01234567890123456789012345 = 26 chars
In Forth?
--
I don't believe in western morality, i.e. don't kill civilians or children....
The only way to fight a moral war is the Jewish way: Destroy their holy sites.
Kill men, women, and children (and cattle). --- Rabbi Manis Friedman
web.archive.org/web/20090605154706/http://www.momentmag.com/Exclusive/2009/2009-06/200906-Ask_Rabbis.html
archive.org/download/DavidDukeVideo/TheZionistMatrixOfPowerddhd.ogv