how do i create a list of random numbers with no duplicates?
102928
I'm not a php programmer... but using other programing languages is quite simple. Use an algorithm like this: define a matrix or a vector (depends on how many numbers you want listed) and start the random procedure: first chooses a number and compares it with every variable of the matrix/vector, if it's different then write it on the page and in the current position in the matrix. This is just a pseudo-code, but it's easy.
526416
add the numbers\n15\n19\n42\n19\nnext number equals 15.....     and each has a 2 and a 7 in it\n\ntry 2742 sounds like a good answer for neopets lenny conundrum answer possibility but not fully sure..... lucidlyinsane
568941
You can't do it without repeating a number. If you put a number in a box, 200/that number must go next to it and below it.
78257
once saved (unless u have a copy), you can't unsort. You can only sort aagin by differnet criteria. If the list was originall sorted in some way you can get get back. If it was random, there is no way.
55122
Better way is to creat an instance of Random class.\nIt has methods, nextInteger(), nextdouble(), and others.
52813
This is a cool question. The main idea is to check how random a random number generator really is.\n\nA random number generator is a system, usually involving a computer which creates a list of random numbers. All random number generators are really pseudo-random, which just means that unless there is some bizzare input, like static from a radio, the list of numbers is predictable and therefore not really random.\n\nFor example an example of a simple random number generator is one of a pair of dice. The die will always show a number from 1 to 6. If you wrote down zillions of rolls of the die, and made a bar chart, a really fair die would show equal length bars for each number. This is an example of an Statistical Evaluation. Other evaluations might be to show what  the bar chart curve looks like (bell curve etc.), or the average etc.\n\nFair random number generators are important for gambling machines, state lotteries, scientific testing, and mathematics.\n\nThe most famous multiplicative linear congruential generator was RANDU invented by IBM in 1968. By multiplying numbers together one after another using modulo arithmetic (like the way a clock repeats every 12 hours) based on a starting number or SEED, it was a simple way to get numbers. Unfortunately, statistical tests showed it was way off. The numbers fell into patterns which were not random.
697965
every number from 0 to 10\n\nplus placed in alphabetical order
779526
How are you even sure that such a function exists? the numbers look very random.
397527
Random numbers generated by a computer are not truly random but are generated by a complicated algorithm that makes numbers that appear to be random but aren't. An interesting discussion of this is available at the website listed below. Look for the Numb3rs Activity: Creating Random Numbers from September 30.
157637
The list may contain more than once the same number.\nthese are all valid lists:\n2 1 3 5 9\n1 1 1\n-5 0 -5 0 -5 1 5\n\nThe algorithm will be O(n) (you have to examine every element at least once and once is enough).\nc code would be something like this\n\nint *find_last_min(int *list, int length)\n{\n  int i, *min = list; /* assuming the list is not empty */\n  for(i = 1; i < length; ++i)\n    if(*min >= list[i])\n      min = list + i;\n  return min;\n}
761676
In theory there could likely be a true random number generator.  However, due to chaos, even a seemingly insignificant occurence can influence the outcome of the random number generator.  Add to that Huygens uncertainty principle in which any measurement of an object will affect its state, and you've doubly messed up the true randomness of the generator.
1107182
Here's an example; I've always just created them in Excel. It's fairly easy.\n\nhttp://www.jevin.net/tournamentschedule.htm
631063
I don't recall  the FORTRAN language as having a defined random number generator, so I think the answer to your question is going to depend on the specific FORTRAN implementation you're using.   You might try RAND(); that's what I recall worked on at least one version of FORTRAN I used, but that was a long time ago...
760690
=RAND() A random number between 0 and 1 (varies) \n=RAND()*100 A random number greater than or equal to 0 but less than 100 (varies) \n\nTo generate a random real number between a and b, use: \nRAND()*(b-a)+a
594531
use a timer event.  every time the event fires, select a bingo ball from a memory array at random.  mark the selected item in the array as "called" so you don't do it again.  make sure the interval on your timer is either adjustable by the user, or suitably long so the user can react before the next call.  good luck.
971944
First: Check if the string has more than 4 letters.. Otherwise you cannot add a character in the 5th place.\n\n(If you dunno how to do this, use a counter variable. Traverse thru the list one by one, incrementing the counter variable for each traversal until u reach the end of the list)\n\nOnce that check is done and you are sure that there 4 or more letters in the string, u can proceed with the following:\n\nlet your list pointer (pointer to the first element in the list) be called "LIST".. \n\n1. Create a new pointer (lets call it "NEW") and point it to LIST. Let the new character be present at the location called CHARACTER. (For this you need to create a node and call it "CHARACTER").\n2. Create a counter variable\n3. Now traverse through the list one by one using the NEW pointer (do not disturb the LIST pointer). Simultaneously increment the counter once for each traversal.\n4. After each traversal, check the counter value. Once the counter reaches the requisite value (4 or 5, depending on whether u initialised it to 0 or 1), insert the new character in that place.\ni.e.: \n       next(CHARACTER) = next(NEW)\n       next(NEW) = CHARACTER \n\nHope this helps.
1082362
Sometimes - rarely - there are.  I have very occasionally come to the end of the puzzle with two numbers that could go anywhere in two squares, ie, 2 and 6 might be interchangeable.  Then I think I'm wrong, and will do it all again to be faced with the same outcome!