random number generated pattern (1)