Van Eck sequence: Difference between revisions

m
corrected five misspellings.
m (added whitespace.)
m (corrected five misspellings.)
Line 20:
Using B:
:<code>0 0 1 0</code>
Using C: (zero last occuredoccurred two steps back - before the one)
:<code>0 0 1 0 2</code>
Using B:
:<code>0 0 1 0 2 0</code>
Using C: (two last occuredoccurred two steps back - before the zero)
:<code>0 0 1 0 2 0 2 2</code>
Using C: (two last occuredoccurred one step back)
:<code>0 0 1 0 2 0 2 2 1</code>
Using C: (one last appeared six steps back)
Line 34:
 
;Task:
# Create a function/proceedureprocedure/method/subroutine/... to generate the Van Eck sequence of numbers.
# Use it to display here, on this page:
:# The first ten terms of the sequence.
Line 43:
* [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]].
* [[oeisOEIS:A181391| OEIS sequence: A181391]].
<br><br>