no a muzes aspon rict, v jakem radu pro X (maximum) a N (pocet generovanych cisel) se pohybujes?

EDIT: jeste bys mohl misto fce rand() pouzit mt_rand(). rikaj ze je rychlejsi...