Programmer's Guide To Theory - Random?
Written by Mike James   
Wednesday, 20 August 2025
Article Index
Programmer's Guide To Theory - Random?
Pseudo and True Random
Summary

Summary

NOTE: This is the summary of the entire Chapter 7 of Programmer's Guide to Theory. The content in italics is not included in this extract.

  • The algorithmic, or Kolmogorov, complexity of a string of symbols is the size of the smallest program that will generate it.

  • Kolmogorov complexity clearly depends on the machine used to host the program, but it is defined up to a constant which allows for the variation in implementation.

  • Most irrationals don’t have programs that generate them and hence their Kolmogorov complexity is infinite.

  • Kolmogorov complexity isn’t computable in the sense that there isn’t a single function or Turing machine that will return the complexity of an arbitrary string.

  • A C compressible string can be reduced by C symbols by a compression program.

  • A string that cannot be reduced by even one symbol is said to be incompressible. Such strings have to exist by a simple counting principle. This means that the majority of strings have a high Kolmogorov complexity.

  • A string with a high Kolmogorov complexity is algorithmically random.

  • Most random numbers are pseudo random in that they are theoretically predictable if not practically predictable. This includes examples of systems that are usually considered to be truly random, such as the toss of a coin. Clearly, with enough data, you can predict which face the coin will come down.

  • The only example of true randomness is provided by quantum mechanics where the randomness is built into the theory – there is no way of predicting the outcome with more information.

A Programmers Guide To Theory

Now available as a paperback and ebook from Amazon.

cover600

Contents

    1. What Is Computer Science?
      Part I What Is Computable?
    2. What Is Computation?
    3. The Halting Problem
    4. Finite State Machines
      Extract 1: Finite State Machines
      Extract 2: Turing Thinking
    5. Practical Grammar
    6. Numbers, Infinity and Computation
      Extract 1: Numbers 
      Extract 2: Aleph Zero The First Transfinite
      Extract 3: In Search Of Aleph-One
      Extract 4: Transcendental Numbers
    7. Kolmogorov Complexity and Randomness
      Extract 1:Kolmogorov Complexity 
      Extract 2: Random?  ***NEW!
    8. The Algorithm of Choice
    9. Gödel’s Incompleteness Theorem 
    10. Lambda Calculus
      Part II Bits, Codes and Logic
    11. Information Theory 
    12. Splitting the Bit 
    13. Error Correction 
    14. Boolean Logic 
      Part III Computational Complexity
    15. How Hard Can It Be?
      Extract 1: Where Do The Big Os Come From
    16. Recursion
      Extract 1: What Is Recursion
      Extract 2: Why Recursion
    17. NP Versus P Algorithms
      Extract 1: NP & Co-NP
      Extract 2: NP Complete

<ASIN:1871962439>

<ASIN:1871962587>

To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.

Banner


Itential Unveils FlowAI: Bringing Governed AI Agents to Infrastructure Orchestration
20/11/2025

Itential, which specializes in intelligent network and infrastructure orchestration, has announced FlowAI. This is an extension to the existing Intential Automation Platform which is intended to  [ ... ]



Panic Over Arduino Ts and Cs
26/11/2025

It could have been good news that Qualcomm had taken over Arduino. Adding its financial muscle and processor resources to the very popular development environment could have, and still could, produce  [ ... ]


More News

pico book

 

Comments




or email your comment to: comments@i-programmer.info



Last Updated ( Wednesday, 20 August 2025 )