Ludic numbers: Difference between revisions
Content added Content deleted
m (→{{header|zkl}}: tweak) |
m (used a consistent color for a highlighted numeral, used a more visible ellipse.) |
||
Line 4: | Line 4: | ||
The first ludic number is <span style="color:blue;font-weight:bold">1</span>. |
The first ludic number is <span style="color:blue;font-weight:bold">1</span>. |
||
<br>To generate succeeding ludic numbers create an array of increasing integers starting from 2 |
<br>To generate succeeding ludic numbers create an array of increasing integers starting from <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> |
:<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) |
(Loop) |
||
Line 20: | Line 20: | ||
* Remove every '''7<sup>th</sup>''' indexed item from the array (including the first). |
* Remove every '''7<sup>th</sup>''' indexed item from the array (including the first). |
||
::<code><span style="color:blue;font-weight:bold"><s>7</s></span> 11 13 17 23 25 29 <s>31</s> 37 41 43 47 53 55 <s>59</s> 61 67 71 73 77 83 <s>85</s> 89 91 97 ...</code> |
::<code><span style="color:blue;font-weight:bold"><s>7</s></span> 11 13 17 23 25 29 <s>31</s> 37 41 43 47 53 55 <s>59</s> 61 67 71 73 77 83 <s>85</s> 89 91 97 ...</code> |
||
* <big><b> ... </b></big> |
|||
* ... |
|||
* Take the first member of the current array as the next ludic number <span style="color:blue;font-weight:bold">L</span>. |
* Take the first member of the current array as the next ludic number <span style="color:blue;font-weight:bold">L</span>. |
||
* Remove every '''L<sup>th</sup>''' indexed item from the array (including the first). |
* Remove every '''L<sup>th</sup>''' indexed item from the array (including the first). |
||
* <big><b> ... </b></big> |
|||
* ... |
|||