Semiprime: Difference between revisions

Formatting. Replaced French "compte" by English "count".
m (Formatting.)
(Formatting. Replaced French "compte" by English "count".)
Line 1,287:
var
i = 2
comptecount = 0
x = k
while i <= x and comptecount < 3:
if x mod i == 0:
x = x div i
inc comptecount
else:
inc i
result = if count == 2: "is semi-prime" else: "isn't semi-prime"
if compte == 2:
result = "is semi-prime"
else:
result = "isn't semi-prime"
for k in 1675..1680:
Anonymous user