The Next Number solutions

The Next Number was solved using JavaScript by 1 contestant.