aoc
2024.12.25
In aoc::
year2017::
day23
aoc
::
year2017
::
day23
Function
is_composite
Copy item path
Source
fn is_composite(n:
u32
) ->
bool
Expand description
Simple
prime number check
of all factors from 2 to √n inclusive.