re: Project Euler #7 - 10001st prime VIEW POST

FULL DISCUSSION
 

like

Set i 0
Set num 3
While (true)
  If (IsPrime(num))
    Set i `eval(i+1)`
    If (i == 1001 or i == 6)
      echo num 
  Set num `eval(num + 1)`
IsPrime.fn << curl stackoverflow.com/?q=Is%20Prime
code of conduct - report abuse