Van Eck\'s sequence in Matlab

Massachusetts Institute Of Technology

Here are the best resources to pass Van Eck\'s sequence in Matlab. Find Van Eck\'s sequence in Matlab study guides, notes, assignments, and much more.

All 1 results

Sort by

Van Eck's sequence in Matlab
  • Van Eck's sequence in Matlab

  • Textbook notes • 2 pages • 2019
  • Van Eck's sequence in Matlab In recreational mathematics van Eck's sequence is an integer sequence defined recursively as follows. Let a0 = 0. Then, for n ≥ 0, if there exists an m < n such that am = an, take the largest such m and set an 1 = n − m; otherwise an 1 = 0. Thus the first occurrence of an integer in the sequence is followed by a 0, and the second and subsequent occurrences are followed by the size of the gap between the two most recent occurrences.
    (0)
  • $7.49
  • + learn more