this post was submitted on 31 Oct 2024
208 points (100.0% liked)
196
666 readers
95 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Just divide the number into its prime factors and then check if one of them is 2.
or divide the number by two and if the remainder is greater than
but less than
then
What if the remainder is greater than the first, but not less than the latter?
Like, for example, 1?