db with prim hash - bufgix
This commit is contained in:
parent
4e4d4121b5
commit
254e597490
|
@ -42,7 +42,7 @@
|
||||||
(set! *prime (getprime-rec *prime)))
|
(set! *prime (getprime-rec *prime)))
|
||||||
|
|
||||||
(define (getprime-rec prime)
|
(define (getprime-rec prime)
|
||||||
(if (= 1 (not (and (/ prime 2) (/ prime 3) (/ prime 5) (/ prime 7) (/ prime 10))))
|
(if (= 0 (+ (and (/ prime 2) (/ prime 3) (/ prime 5) (/ prime 7) (/ prime 10))))
|
||||||
(getpreime-rec (+ prime 1))))
|
(getpreime-rec (+ prime 1))))
|
||||||
|
|
||||||
(define (integer->ascii
|
(define (integer->ascii
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
(set! *prime (getprime-rec *prime)))
|
(set! *prime (getprime-rec *prime)))
|
||||||
|
|
||||||
(define (getprime-rec prime)
|
(define (getprime-rec prime)
|
||||||
(if (not (and (/ prime 2) (/ prime 3) (/ prime 5) (/ prime 7) (/ prime 10)))
|
(if (= 1 (not (and (/ prime 2) (/ prime 3) (/ prime 5) (/ prime 7) (/ prime 10))))
|
||||||
(getpreime-rec (+ prime 1))))
|
(getpreime-rec (+ prime 1))))
|
||||||
|
|
||||||
(define (integer->ascii
|
(define (integer->ascii
|
||||||
|
|
Loading…
Reference in New Issue