0

Make a program that outputs a sequence of integers so that every finite sequence of positive integers is a substring (continuos subsequence) of the output.
For example, the following sequence satisfies the rules:
1,1,1,2,1,1,1,1,2,2,1,3,1,1,1,1,1,1,2,1,2,1,1,3,2,1,1,3,1,4,...
To see the underlyin...