+ 1
Can we make recursive primal numbers function?
any lang
4 Answers
+ 2
You could make a function that returns the first prime following a number, which is the output of such function's previous iteration, and make an end case, like the depth of the recursion to tell the nth prime.
+ 1
thx but would you please write code any lang
+ 1
thx again