Hacker News new | ask | show | jobs
by fzort 2541 days ago
> you input N and it will produce the Nth prime

Look for Willans' formula (there's a nice explanation in the book "Hacker's Delight").