Questions tagged [random-number]

A random number is a number that is generated by random number generator (RNG) unit or some teachniques. Random numbers have applications in gambling, statistical sampling, computer simulation, cryptography, completely randomized design, and other areas where producing an unpredictable result is desirable.

A random number is a number that is generated by random number generator (RNG) unit or some teachniques. Random numbers have applications in gambling, statistical sampling, computer simulation, cryptography, completely randomized design, and other areas where producing an unpredictable result is desirable.

52 questions
43
votes
11 answers

What is the smallest and simplest seed for a random number generator?

A small microcontroller (8-bit Atmel) controls a number of lights in order to present a light show with many fancy randomized light sequences. A suitable pseudo-RNG does its job nicely, but I'm looking for a good seed for it. A seed will be…
vsz
  • 2,564
  • 1
  • 18
  • 35
3
votes
5 answers

How can I get random numbers on AVR?

I am trying to make the game MegaMind. I need to get a random number, but how can I get them on AVR? I have tried this: secret_code[1] = random()&=6;
Dion123
  • 57
  • 1
  • 1
  • 2
2
votes
2 answers

Randomising diode

I've been watching Minder DVDs and one of the extras from Series 6 is a Premium Bonds ad from 1986 which explains that their super-duper ERNIE 2 machine uses diodes (I think) that emit pulses at random intervals in order to generate random numbers…
CJ Dennis
  • 123
  • 4
1
vote
3 answers

A subsystem with randomised outputs (no microcontrollers)

I'm trying to make a subsystem that has several outputs. By default, all outputs are 0. When turned on, I want it to randomly set one output to 1, and make it stay at 1 until reset (the reset procedure can be anything, but is preferably a pulse).…
Bluefire
  • 215
  • 2
  • 8
0
votes
1 answer

Are radioisotope HRNGs commercially available?

I figure if they use Americium-241 pellets to make commercial smoke detectors, there's no reason they cannot use such pellets for hardware random number generators. I read an unconfirmed anecdote that casinos often use them in their digital gaming…
Mr X
  • 734
  • 4
  • 22
-1
votes
1 answer

Making a random number generator

I need a random number generator. How would I make a random number generator circuit? What would be the best(i.e. smallest, least number of parts) way to make one?
parzival
  • 115
  • 1
  • 1
  • 13