Yellowstone sequence: Difference between revisions

m
Line 4:
The '''Yellowstone sequence''', also called the '''Yellowstone permutation''', is defined as:
 
====a(n)For = n for nA <= 3. ====,
====a(n) = n====
For n >= 4,
====a(n) = the smallest number not already in sequence such that a(n) is relatively prime to a(n-1) and is not relatively prime to a(n-2).====
4,108

edits