Welcome to the CHICKEN Scheme pasting service

no title added by megane on Tue Jul 5 11:39:38 2011

(define (b x)
  (if (< 1 x)
   (+ 3 (b (/ x 1000)))
   x))

(define (main)
 (let loop [(i 1000)
	    (s 0)]
   (if (> i 0)
       (loop (sub1 i) (+ s (b s) 1))
       (print s))))

(time (main))

Your annotation:

Enter a new annotation:

Your nick:
The title of your paste:
Your paste (mandatory) :
Name of the language CHICKEN compiles to:
Visually impaired? Let me spell it for you (wav file) download WAV