Hi Billy

Just curious. How long does the simple solution take:

#lang racket/base
(require math/number-theory)

(define (f n)
  (for/sum ([x (in-range 1 (+ n 1))]
            #:when (= (length (divisors x)) 8))
           1))

(f 10e6)

/Jens Axel

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to