Project Euler 7 - 10001st Prime

Official link: https://projecteuler.net/problem=7

Thought Process

Using my prime generator function this is trivial, I highly recommend you read the following pages to understand how to build your own prime generator function as it will be used time and time again:

  1. https://www.nayuki.io/page/the-versatile-sieve-of-eratosthenes

  2. https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes

Interactive Code

Input an integer (yourinput)

Code will output the yourinput-th prime