A Space Efficient Algorithm for the Calculation of the Digit Distribution in the Kolakoski Sequence
classification
🧮 math.CO
keywords
kolakoskialgorithmdistributionsequencespaceamountcalculationclassical
read the original abstract
With standard algorithms for generating the classical Kolakoski sequence, the numerical calculation of the digit distribution requires a linear amount of space. Here, we present an algorithm for calculating the distribution of the digits in the classical Kolakoski sequence, that only requires a logarithmic amount of space and still runs in linear time. The algorithm is easily adaptable to generalised Kolakoski sequences.
This paper has not been read by Pith yet.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.