Comment

Comment by lurchedsawyer

See? Squirming. Somehow multiplying 0 factors is supposed to result in 1.

I'm not saying it's incorrect, but you have to explain that edge case away. At the same time allowing 1 to be prime would remove that problem given that e.g. 6 = 2^1 * 3 ^1 and 6 = 1^81 * 2^1 * 3^1 are the same unique factorisation because, well, monoids.

Edit: `s/fields/monoids`

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton