Skip to content

sole reel recursive bon

schwarzlichtbezirk edited this page Nov 29, 2026 · 1 revision

Mathematical Model: Single-Reel Set with Recursive Free Spins, Bonus Mini-Games, and Exact Covariance

This document defines the exact closed-form equations for calculating the Expected Value ($EV$ / $RTP$) and Total Variance ($DX$) of a slot machine utilizing a single reel set, recursive free spins, and up to $M \in {0..4}$ bonus mini-game features.

The model explicitly accounts for:

  1. Concurrent line wins on spins that trigger bonus mini-games (via counter $S_{tb}$).
  2. Substantial scatter/line payouts occurring on spins that trigger free spin series (via counter $S_{tf}$).
  3. Mutual exclusivity between free spin triggers and mini-game triggers on the same spin.
  4. Both bonus multiplier regimes (Variant A and Variant B).

1. Combinatorial Scope & Accumulated Counters

Full Search Space

For a 5-reel slot with reel strip lengths ${r_1, r_2, r_3, r_4, r_5}$, the total number of reel combinations is:

$$N = r_1 \cdot r_2 \cdot r_3 \cdot r_4 \cdot r_5$$

Accumulated Counters from Full Combinatorial Search

Let $x_n$ denote the base reel payout (lines and scatters, excluding mini-games) on combination $n \in {1 \dots N}$, and $k_n \in {0, L_3, L_4, L_5}$ denote the initial free spins awarded on combination $n$:

  • $S$: Total sum of base reel payouts across all $N$ combinations ($\sum_{n=1}^{N} x_n$).
  • $Q$: Sum of squared base reel payouts across all $N$ combinations ($\sum_{n=1}^{N} x_n^2$).
  • $C_{fg}$: Total count of combinations triggering a free spin series.
  • $C_{fs}$: Total count of initial free spins awarded across all trigger events ($\sum_{n=1}^{N} k_n$).
  • $Q_{fs}$: Sum of squared initial free spin series lengths across all trigger events ($\sum_{n=1}^{N} k_n^2$).
  • $C_b[i]$: Array of counters ($i = 1 \dots M$) recording the number of combinations that trigger the $i$-th bonus mini-game.
  • $S_{tf}$ (Sum of Trigger Freespins): Sum of products of base reel payout and awarded free spin length across all combinations:

$$S_{tf} = \sum_{n=1}^{N} x_n \cdot k_n$$

  • $S_{tb}$ (Sum of Trigger Bonuses): Sum of base reel payouts $x_n$ on spins where any bonus mini-game is triggered:

$$S_{tb} = \sum_{n \in \text{bonus}} x_n$$


2. Base Reel Statistics (Excl. Mini-Games & Free Spins)

  • Base Reel Expected Value ($\mu$):

$$\mu = \frac{S}{N}$$

  • Base Reel Variance ($D$):

$$D = \frac{Q}{N} - \mu^2$$


3. Bonus Mini-Game Statistics

Each $i$-th mini-game ($i \in {1 \dots M}$) is evaluated independently of reel positions and characterized by:

  • Trigger Probability per Spin ($p_{b,i}$):

$$p_{b,i} = \frac{C_b[i]}{N}$$

  • Conditional Expected Value ($\mu_{b,i}$): Expected payout when the $i$-th mini-game is triggered.
  • Conditional Variance ($D_{b,i}$): Variance of the payout when the $i$-th mini-game is triggered.

Let $Y_i$ be the random payout contributed by the $i$-th mini-game on a single spin. The total expected mini-game payout per spin is:

$$\mu_{mini} = \sum_{i=1}^{M} p_{b,i} \cdot \mu_{b,i}$$

Total Mini-Game Variance per Spin ($D_{mini}$)

Case 1: Mutually Exclusive Mini-Games (Standard)

At most one mini-game type can trigger per spin:

$$D_{mini} = \sum_{i=1}^{M} p_{b,i} \left( D_{b,i} + \mu_{b,i}^2 \right) - \mu_{mini}^2$$

Case 2: Independent / Simultaneous Mini-Games

Different mini-game types can trigger independently on the same spin:

$$D_{mini} = \sum_{i=1}^{M} \left[ p_{b,i} \cdot D_{b,i} + p_{b,i}(1 - p_{b,i}) \cdot \mu_{b,i}^2 \right]$$


4. Exact Covariance Terms

A. Covariance Between Base Payout and Mini-Games ($C_{XY}$)

Let $p_{b,tot} = \sum_{i=1}^{M} p_{b,i}$ be the total probability of triggering any mini-game (for mutually exclusive mini-games), and $\bar{\mu}b = \frac{\mu{mini}}{p_{b,tot}}$ be the average conditional mini-game payout (if $p_{b,tot} = 0$, $C_{XY} = 0$).

Using $S_{tb}$, the exact covariance between the base reel payout $X$ and the mini-game payout $Y_{mini}$ on a single spin is:

$$C_{XY} = \text{Cov}(X, Y_{mini}) = \left( \frac{S_{tb}}{N} \cdot \bar{\mu}_b \right) - \mu \cdot \mu_{mini}$$

(Note: If $S_{tb}$ is accumulated as $\sum_{n=1}^{N} x_n \cdot \mu_{b,i(n)}$ weighted by the specific triggered mini-game's expected value $\mu_{b,i(n)}$, this simplifies directly to $C_{XY} = \frac{S_{tb}}{N} - \mu \cdot \mu_{mini}$.)

B. Covariance Between Base Payout and Free Spin Length ($C_{XK}$)

Using $S_{tf}$, the exact covariance between the base reel payout $X$ and the initial free spin award $K$ is:

$$C_{XK} = \text{Cov}(X, K) = \frac{S_{tf}}{N} - \mu \cdot E[K]$$

C. Covariance Between Mini-Games and Free Spin Length ($C_{YK}$)

Because free spin triggers and mini-game triggers are mutually exclusive on the same spin ($Y_{mini} \cdot K = 0$):

$$C_{YK} = \text{Cov}(Y_{mini}, K) = -\mu_{mini} \cdot E[K]$$


5. Combined Single-Spin Parameters ($\mu_{spin}, D_{spin}$)

Incorporating the exact base-to-mini-game covariance $C_{XY}$:

  • Combined Single-Spin Expected Value ($\mu_{spin}$):

$$\mu_{spin} = \mu + \mu_{mini}$$

  • Combined Single-Spin Variance ($D_{spin}$):

$$D_{spin} = D + D_{mini} + 2 \cdot C_{XY}$$


6. Recursive Free Spins Model

  • Expected Initial Free Spins ($E[K]$):

$$E[K] = \frac{C_{fs}}{N}$$

  • Variance of Initial Free Spins ( $\text{Var}(K)$ ):

$$\text{Var}(K) = \frac{Q_{fs}}{N} - \left(\frac{C_{fs}}{N}\right)^2$$

  • Recursive Free Spin Ratio ($q$): Total expected free spins generated per paid spin (converging under $E[K] < 1$):

$$q = \frac{E[K]}{1 - E[K]} = \frac{C_{fs}}{N - C_{fs}}$$

  • Variance of Total Free Spins Series Length ( $\text{Var}(N_{fg})$ ):

$$\text{Var}(N_{fg}) = \frac{\text{Var}(K)}{(1 - E[K])^3}$$


7. Total Expected Value ($EV$) and Total Variance ($DX$)

Variant A: Multiplier $m$ Applies to Both Reel Wins and Mini-Games

During free spins, all spin wins are multiplied by $m$. The total covariance of a single spin with its awarded free spins is $C_{\text{spin},K} = C_{XK} + C_{YK}$:

  • Total Expected Value ($EV$):

$$EV = \mu_{spin} \cdot (1 + m \cdot q)$$

  • Total Variance ($DX$):

$$DX = D_{spin} \left(1 + q \cdot m^2\right) + (m \cdot \mu_{spin})^2 \cdot \frac{\text{Var}(K)}{(1 - E[K])^3} + 2 \cdot \frac{m \cdot \mu_{spin}}{1 - E[K]} \cdot (C_{XK} + C_{YK}) \cdot (1 + q \cdot m)$$


Variant B: Multiplier $m$ Applies Only to Reel Wins (Mini-Games Unscaled)

During free spins, regular reel payouts are multiplied by $m$, while mini-game payouts remain unscaled ($1\times$). The single free spin parameters are:

$$\mu_{fg} = m \cdot \mu + \mu_{mini}$$

$$D_{fg} = m^2 \cdot D + D_{mini} + 2 \cdot m \cdot C_{XY}$$

Applying the Law of Total Variance with exact trigger covariances yields:

  • Total Expected Value ($EV$):

$$EV = \mu_{spin} + q \cdot \mu_{fg} = \mu \cdot (1 + m \cdot q) + \mu_{mini} \cdot (1 + q)$$

  • Total Variance ($DX$):

$$DX = D_{spin} + q \cdot D_{fg} + \mu_{fg}^2 \cdot \frac{\text{Var}(K)}{(1 - E[K])^3} + 2 \cdot \frac{\mu_{fg}}{1 - E[K]} \Big[ (C_{XK} + C_{YK}) + q \cdot (m \cdot C_{XK} + C_{YK}) \Big]$$


Summary Table of Variables

Variable Formula / Source Description
$N$ $r_1 \cdot r_2 \cdot r_3 \cdot r_4 \cdot r_5$ Total combinatorial search space
$\mu, D$ $S/N, \quad Q/N - \mu^2$ Base reel EV and Variance (excl. mini-games)
$p_{b,i}$ $C_b[i] / N$ Trigger probability of mini-game $i$ per spin
$\mu_{mini}, D_{mini}$ See Section 3 Total mini-game EV and Variance per spin
$C_{XY}$ $\left(\frac{S_{tb}}{N} \cdot \bar{\mu}b\right) - \mu \cdot \mu{mini}$ Exact covariance between reel wins and mini-games
$C_{XK}$ $\frac{S_{tf}}{N} - \mu \cdot E[K]$ Exact covariance between reel wins and free spin length
$C_{YK}$ $-\mu_{mini} \cdot E[K]$ Covariance between mini-games and free spin length
$\mu_{spin}, D_{spin}$ $\mu + \mu_{mini}, \quad D + D_{mini} + 2 C_{XY}$ Combined EV and Variance of 1 base spin
$q$ $C_{fs} / (N - C_{fs})$ Expected total free spins per paid spin
$\text{Var}(N_{fg})$ $\frac{Q_{fs}/N - (C_{fs}/N)^2}{(1 - C_{fs}/N)^3}$ Variance of total free spin series length
$EV$ Variant A or Variant B Total Game Expected Value (RTP)
$DX$ Variant A or Variant B Total Game Variance
$\sigma$ $\sqrt{DX}$ Standard Deviation ($\sigma$)

Clone this wiki locally