10001th prime

say (^∞).grep( &is-prime )[10000]

Output:

104743

Last updated