Ludic numbers: Difference between revisions

m
move a bullet item (a definition) below the stretch goal.
(→‎{{header|Elixir}}: used Enum.drop_every)
m (move a bullet item (a definition) below the stretch goal.)
Line 4:
 
The first ludic number is &nbsp; <span style="color:blue;font-weight:bold">1</span>.
 
<br>To generate succeeding ludic numbers create an array of increasing integers starting from &nbsp; <span style="color:blue;font-weight:bold">2</span>.
:<code><span style="color:blue;font-weight:bold">2</span> 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 ...</code>
(Loop)
Line 31 ⟶ 32:
* How many ludic numbers are there less than or equal to 1000?
* Show the 2000..2005<sup>th</sup> ludic numbers.
* A triplet is any three numbers &nbsp; &nbsp; <big><math> x, </math> &nbsp; <math> x+2, </math> &nbsp; <math> x+6 </math> </big> &nbsp; &nbsp; where all three numbers are also ludic numbers.
 
 
Line 37:
;Stretch goal:
Show all triplets of ludic numbers < 250.
* A triplet is any three numbers &nbsp; &nbsp; <big><math> x, </math> &nbsp; <math> x+2, </math> &nbsp; <math> x+6 </math> </big> &nbsp; &nbsp; where all three numbers are also ludic numbers.
 
<br><br>