BernoulliProcess
BernoulliProcess[p] represents a Bernoulli process with event probability p.
Examples
Simulate a Bernoulli process:
RandomFunction[BernoulliProcess[0.3], {0, 20}]Please visit the official Wolfram Language Reference for more details.