An approach to generate random numbers over finite iterations.