Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEA
I implemented one iterative macro - Sieve of Eratosthenes to find all prime numbers within range 2 - 2*Number
Then finding Prime Number closest to Number is easy.
Iterative macro - Sieve of Eratosthenes
Attached is my solution. I created an app that takes a number and finds the closest prime above and below the given number. I'm using a Python node to do the heavy lifting.
The result looks like this: