Integers with low Kolmogorov complexity

Words
214
Reading
1 min
Listen
Play
8y

I found this cute sequence in the Online Encyclopedia of Integer Sequences:

A168650: Integers that can be generated with a C/C++ expression that is shorter than their decimal representation.

The "Kolmogorov complexity" of a string is the length of the minimal program which generates that string. In general, this is uncomputable, but we can find small examples through exhaustive search. The sequence A168650 attempts a practical measurement using a real programming language, C. (I don't think any C++ feature will change the results for small examples--- but, because they are different languages, the definition should be precise, particularly as to which version.)

Most of the short examples are not very interesting, because they use the floating-point notation.

NumberShortest C representation
10001e3
20002e3
30003e3
40004e3
50005e3
60006e3
70007e3
80008e3
90009e3
......
1000001e5
1000011e5+1
......
285000285e3
2857142e6/7 (hey, a nontrivial example!)
286000286e3

However, the submitter did provide this cool graph:

Sources

The On-Line Encyclopedia of Integer Sequences, published electronically at https://oeis.org, October 27, 2018.

Inspired by this question on Quora: https://www.quora.com/Is-there-a-list-of-integer-numbers-with-a-low-Kolmogorov-complexity (and I wrote an answer there.)

Kolmogorov Complexity -- Wikipedia

Integers with low Kolmogorov complexity | Ecency