-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
WORKING
search
num = [#naturals n]
not(a = math/pow[value: n exponent: 1 / 2]
b = math/floor[value: a]
b > 1
b < n
c = math/range[from: 2, to: b]
0 = math/mod[value: n, by: c])
bind
[#html/div n]
end
NOT WORKING (TRANSITIVITY)
search
num = [#naturals n]
a = math/pow[value: n exponent: 1 / 2]
b = math/floor[value: a]
not(b > 1
b < n
c = math/range[from: 2, to: b]
0 = math/mod[value: n, by: c])
bind
[#html/div style: [color: "green"] sort: "{{n}}b" text: "{{n}}: is a prime"]
end
Metadata
Metadata
Assignees
Labels
No labels