Human: What is the heidi algorithm? Assistant: 
The heidi algorithm is a method for generating a random integer sequence. It’s based on the fact that the heidi function is a sum of a sequence of random numbers.