Van Eck sequence: Difference between revisions
Content added Content deleted
m (added whitespace.) |
m (corrected five misspellings.) |
||
Line 20: | Line 20: | ||
Using B: |
Using B: |
||
:<code>0 0 1 0</code> |
:<code>0 0 1 0</code> |
||
Using C: (zero last |
Using C: (zero last occurred two steps back - before the one) |
||
:<code>0 0 1 0 2</code> |
:<code>0 0 1 0 2</code> |
||
Using B: |
Using B: |
||
:<code>0 0 1 0 2 0</code> |
:<code>0 0 1 0 2 0</code> |
||
Using C: (two last |
Using C: (two last occurred two steps back - before the zero) |
||
:<code>0 0 1 0 2 0 2 2</code> |
:<code>0 0 1 0 2 0 2 2</code> |
||
Using C: (two last |
Using C: (two last occurred one step back) |
||
:<code>0 0 1 0 2 0 2 2 1</code> |
:<code>0 0 1 0 2 0 2 2 1</code> |
||
Using C: (one last appeared six steps back) |
Using C: (one last appeared six steps back) |
||
Line 34: | Line 34: | ||
;Task: |
;Task: |
||
# Create a function/ |
# Create a function/procedure/method/subroutine/... to generate the Van Eck sequence of numbers. |
||
# Use it to display here, on this page: |
# Use it to display here, on this page: |
||
:# The first ten terms of the sequence. |
:# The first ten terms of the sequence. |
||
Line 43: | Line 43: | ||
* [https://www.youtube.com/watch?v=etMJxB-igrc Don't Know (the Van Eck Sequence) - Numberphile video]. |
* [https://www.youtube.com/watch?v=etMJxB-igrc Don't Know (the Van Eck Sequence) - Numberphile video]. |
||
* [[wp:Van_Eck%27s_sequence|Wikipedia Article: Van Eck's Sequence]]. |
* [[wp:Van_Eck%27s_sequence|Wikipedia Article: Van Eck's Sequence]]. |
||
* [[ |
* [[OEIS:A181391| OEIS sequence: A181391]]. |
||
<br><br> |
<br><br> |
||