bernoulli

bernoulli(n)

Try it yourself:

See also:
All functions