Questions tagged [random]

Questions relating to (pseudo)randomness, random oracles, and stochastic processes.

1860 questions
0
votes
1 answer

Test for Randomness of a List

Giving a list of numbers, is it possible to test if that list is truly random? If it is, how does such a procedure work? I'm not sure about the tag for this question, so I just used analysis.
Tobi Alafin
  • 1,187
0
votes
1 answer

How is random generated?

I was wondering how random is generated in math, because there isn't functions in order to do that isn't it? (I'm at High School) PS: I'm new to this site, be indulgent ;)
Blax
  • 105
0
votes
2 answers

If you got a random value, and add a non-random value, is the subsequent value still random?

Was talking with some friends when this came out. If given a true random value, say niojfewjoiregjifkpoj and you added a non-random value, say 1234, is the combined value, niojfewjoir1234egjifkpoj still considered random? (Some button mashing…
0
votes
0 answers

Does Chaitin's constant mean true randomness exists?

I've been reading about Chatin's Constant, and some of the information there seems to contradict what I've heard before. It says that the digits of Chatin's Constant can not be computed. This means that if we had a set of all the digits of Chatin's…
Nico A
  • 4,934
  • 4
  • 23
  • 49
0
votes
1 answer

Finding the average cluster size of a random grid

Original problem statement: Melon-boy lives in a flat world, where there is an infinite two-dimensional grid, where each gridsquare is either occupied by a melon (50% chance) or a pumpkin (50% chance). Melon-boy is born on top of a random melon.…
QCD_IS_GOOD
  • 2,318
  • 1
  • 16
  • 35
0
votes
1 answer

Apportioning $100\%$ across $24$ hours

Assume I have value $x=500$. I would like to apportion this value $500$ across $24$ hours time period and would like it to be apportioned randomly. So if $500$ is $100\%$ the $x\%$ generated at random would be used to apportion the value of $X$ into…
0
votes
1 answer

Random numbers within a range?

(Note: When I say "random" just assume I mean pseudo-random) I have heard that random numbers are generated using this method: $X_{n+1} = (a X_n + b)\, \textrm{mod}\, m$ Using the time as the seed. But, using this algorithm, how is it possible to…
user169330
0
votes
1 answer

Given a list of integers between $0$ and $99$, create a function that will fit all the integers in the list.

Okay, so my friend LOVES to play the lottery. He makes bets often with bookies on the last $2$ digits, getting $90:1$ on his money, a losing bet. He looks up 'systems' on social media on how to calculate what numbers will come up next based on…
-1
votes
1 answer

How can I use a Gamma Random Variable to Aproach the Expected value of a exponential random variable function?

I´m working on trying to approach the value of $E\left[ \dfrac{e^x}{x+1} \right]$. Where $x$ is an exponential random variable. All that data I have to work with is a gamma random variable with parameters $3/2$ and $1$. I also know that $x$ has mean…
-1
votes
1 answer

random number usage in filling 2d array

Below is a small program which has 2-3 Math concepts involved we have 2d array of $i$ width and $j$ height, idea of this program is to fill private int[][] ocean = new int[j][i]; $50%$ of 2d array cells with fish (say integer $1$) public final…
user3265048
  • 101
  • 2
-1
votes
1 answer

Algorithm to generate insecure random numbers

I would like an algorithm which can generate a list of random, uniformly distributed floating point numbers from a given seed, ideally also being able to specify the number of decimal places. The use case if for randomly generating datasets for…
Max888
  • 109
-1
votes
1 answer

Generate a non-similar number from previous generated numbers, between two numbers

I want to generate a number between two numbers that are always further away from the previously generated numbers. For example, I want to generate numbers between 0 and 1. The first value would be 0.5 as that is furthest away from 0 and 1. Then it…
-1
votes
1 answer

Mean and variance of a Lagged Fibonacci Generator

I have stumbled upon this very interesting question. Given an additive LFG: LFG(n) = LFG(n-k) + LFG(n-j) mod m, with LFG(0) ... LFG(k) given What could be the maximum mean and variance? It seemed to me that this would evenly return numbers on both…
-2
votes
1 answer

Find distribution functions of combination of two random variables

$ξ$ and $η$ are independent random variables with distribution functions $F(x)$ and $G(x)$ correspondingly. How do you find the distribution functions of random variables listed below in terms of a combination of $F(x)$ and $G(x)$? …
1 2 3
11
12