Skip to content

Commit 9d7aabf

Browse files
Merge pull request #2 from srcerer/patch-2
Update sieve_augmented.clj
2 parents 054e533 + 3cadff1 commit 9d7aabf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

notebooks/math/primes/factorization/sieve_augmented.clj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
^{:kindly/hide-code true
2+
:clay {:title "Factorization of Eratosthenes"
3+
:quarto {:author [:timschafer]
4+
:type :post
5+
:date "2025-06-01"
6+
:category :clojure
7+
:tags [:clojure.math]}}}
18
(ns math.primes.factorization.sieve-augmented
29
(:require [clojure.math :as m]))
310

@@ -28,4 +35,4 @@
2835
(mapv list (range (inc n)))
2936
(range 2 (inc (m/sqrt n)))))
3037

31-
(prime-factors 10)
38+
(prime-factors 13)

0 commit comments

Comments
 (0)