Compute Kolakoski Sequence and check against known value of Kolakoski Constant.
-
Kolakoski first terms:
1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 1, ...
-
Kolakoski Constant first terms (from a "Kolakoski Constant to 25000 digits as computed by Olivier Gerard in April 1998":
0.7945071927794792762...
For more info on this sequence, see: https://en.wikipedia.org/wiki/Kolakoski_sequence