Comment

Comment by DoreenMichele

Tip: you only need to factor it to the midpoint. Factors occur in pairs. Identifying the smallest factors will automatically identify the largest.

100 is divisible by 2. 2x50=100

No need to wonder if 51-99 are factors. They aren't. 50 is your largest factor.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton