prime sieve wheel

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

78498

Expected output

78498

Flows

flow ~from click a branch to expand · @labels scroll to their anchor
from (wheel, source: x: usize over 0..30030 | keep gcd(x, 30030) == 1)
flow ~new click a branch to expand · @labels scroll to their anchor
new (bits: 1000001)

Test Configuration

MUST_RUN