I can only seem to get the hang of the simplest random number functions. I have a grid consisting of 315 squares. I need a random spread of the numbers 1-21, each repeated (also randomly) 15 times to put an integer in each cell.
03|12|09|08|01|08|10
04|05|05|11|14|08|04
02|08|12|09|03|15|14
Each integer must be used 15 times exactly, as well as all the integers from 1-21. BTW, it doesn't even necessarily have to be in a grid; linearly is fine.
Thanks for your help.
03|12|09|08|01|08|10
04|05|05|11|14|08|04
02|08|12|09|03|15|14
Each integer must be used 15 times exactly, as well as all the integers from 1-21. BTW, it doesn't even necessarily have to be in a grid; linearly is fine.
Thanks for your help.