ProbMSena: Mega Sena lottery game probability

Description Usage Arguments Details Value Examples

View source: R/ProbMSena.R

Description

The bettor simply chooses and dials 6 to 15 numbers from 60 available, the draw consists of the extraction of 6 different numbers, in the universe from 1 to 60. In that game, winners of 4,5 or 6 numbers win prizes.

Usage

1
ProbMSena(x, y)

Arguments

x

number

y

number

Details

Warning message if the y (number of hits) is greater than 6, "Prob = 0, the maximum number of hits is 6". However if y <= 3, notice that there is no such probability. Otherwise, notice that the bettor has won.

x is the amount of numbers bet

y is the amount number of hits

Value

number

Examples

1
ProbMSena(6,9)

farias741/Lotto documentation built on Dec. 20, 2021, 7:43 a.m.