Skip to main content
4 of 4
deleted 2 characters in body
lyxal
  • 34.3k
  • 2
  • 64
  • 141

Vyxal, 9 8 bytes

ʀEĖeæa)ȯ

Try it Online!

Times out for numbers larger than 20. 1-indexed.

-1 thanks to @Shaggy

Explained

ʀEĖeæa)ȯ  # takes a single integer n
      )ȯ  # first n numbers where:
ʀ         #   the range [0, that number]
 EĖe      #   to the power of 1/(2 to the power of each number in that range) 
    æa    #   contains a prime number
lyxal
  • 34.3k
  • 2
  • 64
  • 141