This document describes two random number generation algorithms: 1. The mid-square method, which squares a seed number and takes the middle digits as the next number. 2. The modified mod-square method, which squares the seed, sums the removed higher and lower order digits to the middle digits, and squares that number to generate the next random number. The document provides examples of both methods and compares their statistical test results to analyze the randomness of the generated numbers.