What is #4 Arduino nano? And why are you afraid that your using #5 soon?
Generate a random number (see random())
Store in array (see array reference)
Repeat till you have enough numbers (use e.g. for)
Write array to eeprom (see eeprom reference; probably using put and get)
Try something (or show us what you tried) and we can help you further.