#!/usr/bin/python import math import time import random import struct a=[None]*4999999 random.seed(time.time()) for i in range(0,4999999): b=random.random() if b > 0.5: c=math.pow(b,1.546) else: c=math.pow(b,0.434232) d=math.cos(c+i) a[i]=math.atan(d)