数学 > 组合数学
[提交于 2011年10月19日]
标题:A Space Efficient Algorithm for the Calculation of the Digit Distribution in the Kolakoski Sequence
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Johan Nilsson[v1] 2011年10月19日 星期三 09:51:14 UTC