Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #79: Find the Closest Prime Number

LukaszKarpinski
8 - Asteroid

Hi,

 

My solution below:

 

Spoiler
The workflow:

LukaszKarpinski_1-1613035120084.png

 




Result when running from debug:

LukaszKarpinski_0-1613035092994.png

 

apathetichell
18 - Pollux

I had this all done... and then realized that this didn't want the closest smaller prime - it wanted the closest prime.

rcarog
8 - Asteroid

Solution attached.

alamec
7 - Meteor

This is my solution.

 

 

Toons
12 - Quasar

My solution :

 

Spoiler
Toons_0-1615229443242.png

 

mpennington
11 - Bolide

Solution attached.

 

Spoiler
MP 79.png
Chantelb
9 - Comet
Spoiler
Chantelbbr_0-1617859379674.png

 

mdsalmankhan89
8 - Asteroid

Really helpful to understand iterative macro. Great exercise !! 

 

here is my solution ! 

ENix
8 - Asteroid
Spoiler

ElliottNix_0-1619637198441.png

Spoiler

ElliottNix_1-1619637277487.png

 

WernerE
8 - Asteroid

Enjoyed this challenge, thanks.

Spoiler
Screenshot_1.jpg