Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

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 #187: Generate Prime Numbers

Blake
12 - Quasar

We should give some credit to the number 2. 

 

Spoiler
It became prime against all odds. 

187.png

wwatson
12 - Quasar

my solution

danuliatko
7 - Meteor

Just before this I made Challenge #79 so quite easy!

vicki_garlick
7 - Meteor

Needed quite a bit of help with this one. Not something I would normally need to attempt in my day job. Helping me learn new tools and techniques.

bjkay30
8 - Asteroid

It's so interesting to see the different ways that people have tackled this challenge!

 

Here is my take...

 

Spoiler
bjkay30_0-1598362929611.png

 

jamielaird
14 - Magnetar

Here's my solution:

 

Spoiler
jamielaird_0-1600688529830.png

 

JethroChen
10 - Fireball
Spoiler
challenge_187_jc.PNG
LukaszKarpinski
8 - Asteroid

My solution below:

 

Spoiler
Łukasz_0-1601969312119.png

 

Qiu
20 - Arcturus
20 - Arcturus

Had to hardcode number 2.

Spoiler
en-187.PNG
AkimasaKajitani
17 - Castor
17 - Castor

My solution.

 

Spoiler
AkimasaKajitani_0-1604678008253.png