Yellowstone sequence: Difference between revisions

Content added Content deleted
mNo edit summary
m (typos)
Line 59:
end
 
println("The first 30 entries of the Yellowstone permutation:\n", yellowstone(30))
 
x = 1:100
Line 66:
</lang>{{out}}
<pre>
The first 30 entrisentries of the Yellowstone permutation:
[1, 2, 3, 4, 9, 8, 15, 14, 5, 6, 25, 12, 35, 16, 7, 10, 21, 20, 27, 22, 39, 11, 13, 33, 26, 45, 28, 51, 32, 17]
</pre>