UPDATE: Added an exponential operation.
This is a simulation of taking a certain digit from a principle number. The principle number starts as the start number, and each number after that takes the previous number, multiplies it by a constant, adds another constant to it, and takes it through the modulus of a different constant. In other words, p[0]=s , and p[n]=(a + t * [ p[n-1]^p ])%m ; where s, t, a, p, and m are constants. A certain digit is then chosen from this number. Adjusting the digit#, mult, power, start_num, add_num, and modulus sliders will all give different pseudorandom number sequences(blue), with every number between 0 and 9. This is compared to the default random number generator(red). The graphs below show the frequency of each number. Ideally the graphs should be as even as possible, also this is very difficult to achieve. Press space and s to hear the pseudo-exponential and the default sequences being played as notes.