Does anyone know what sort of periodicity rand has?

I made a program to try and find a pattern but so far its on around 50billion itterations and I'm just wondering if this is going to go on for days or if my program isnt right and I have missed the pattern.

Thanks