<?php
function big_dice() {
/*
figure out how to use the dice() function (as much as you like)
and just about anything else to generate a
random number between 1 and 100, with even distribution
but you can not use the rand() function or it's variants...
you can only use (and must use) the dice() function to generate it.
dice();
*/
$nb = array('low' => 900, 'high' => 99999);
$rangeNumbers = range($nb['low'], $nb['high']);
shuffle($rangeNumbers);
return array_slice($rangeNumbers, 0, 500);;
}
print_r(big_dice());
?>