Hacker News new | ask | show | jobs
by contravariant 4046 days ago
I suppose that would work, although with a factor of 3 more than 1/3 of all inputs are not relatively prime so in those cases it would fail anyway.