Skip to content

dual reel recursive bon

schwarzlichtbezirk edited this page Nov 29, 2026 · 1 revision

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

This document defines the exact closed-form equations for calculating the Expected Value ($EV$ / $RTP$), Total Variance ($DX$), and Hit Rates of a slot machine utilizing two independent reel sets:

  1. Regular Reel Set ($r$) — evaluated during paid base spins.
  2. Free Spin Reel Set ($f$) — evaluated during recursive free spins.

Both reel sets can trigger free spin series and up to $M \in {0..4}$ independent bonus mini-game features (subscript $b$). The parameters $\mu_f$ and $D_f$ represent the unscaled reel statistics of the free spin reels (excluding mini-games and multiplier $m$).


1. Combinatorial Scope & Accumulated Counters

A. Regular Game Reel Set ($r$)

Let $x_{n,r}$ denote the base line/scatter payout on combination $n \in {1 \dots N_r}$, and $k_{n,r} \in {0, L_{3,r}, L_{4,r}, L_{5,r}}$ denote the initial free spins awarded:

  • Total Combinations ($N_r$): $N_r = r_{1,r} \cdot r_{2,r} \cdot r_{3,r} \cdot r_{4,r} \cdot r_{5,r}$
  • $S_r$: Sum of line/scatter payouts across all $N_r$ regular combinations ($\sum_{n=1}^{N_r} x_{n,r}$).
  • $Q_r$: Sum of squared line/scatter payouts across all $N_r$ regular combinations ($\sum_{n=1}^{N_r} x_{n,r}^2$).
  • $C_{fg,r}$: Count of regular combinations triggering a free spin series.
  • $C_{fs,r}$: Total initial free spins awarded across all regular triggers ($\sum_{n=1}^{N_r} k_{n,r}$).
  • $Q_{fs,r}$: Sum of squared initial free spin series lengths across all regular triggers ($\sum_{n=1}^{N_r} k_{n,r}^2$).
  • $C_{b,r}[i]$: Array of counters ($i = 1 \dots M$) recording the count of regular combinations triggering the $i$-th bonus mini-game.
  • $S_{tf,r}$ (Sum of Trigger Freespins — Regular): Sum of products of regular reel payout and awarded free spin length:

$$S_{tf,r} = \sum_{n=1}^{N_r} x_{n,r} \cdot k_{n,r}$$

  • $S_{tb,r}$ (Sum of Trigger Bonuses — Regular): Sum of regular reel payouts $x_{n,r}$ on spins where any bonus mini-game triggers:

$$S_{tb,r} = \sum_{n \in \text{bonus}_r} x_{n,r}$$

B. Free Spin Reel Set ($f$)

Let $x_{n,f}$ denote the unscaled line/scatter payout on free spin combination $n \in {1 \dots N_f}$, and $k_{n,f} \in {0, L_{3,f}, L_{4,f}, L_{5,f}}$ denote the re-triggered free spins awarded:

  • Total Combinations ($N_f$): $N_f = r_{1,f} \cdot r_{2,f} \cdot r_{3,f} \cdot r_{4,f} \cdot r_{5,f}$
  • $S_f$: Sum of unscaled line/scatter payouts across all $N_f$ free spin combinations ($\sum_{n=1}^{N_f} x_{n,f}$).
  • $Q_f$: Sum of squared unscaled line/scatter payouts across all $N_f$ free spin combinations ($\sum_{n=1}^{N_f} x_{n,f}^2$).
  • $C_{fg,f}$: Count of free spin combinations triggering a re-trigger.
  • $C_{fs,f}$: Total re-triggered free spins awarded across all free spin triggers ($\sum_{n=1}^{N_f} k_{n,f}$).
  • $Q_{fs,f}$: Sum of squared re-triggered free spin series lengths across all free spin triggers ($\sum_{n=1}^{N_f} k_{n,f}^2$).
  • $C_{b,f}[i]$: Array of counters ($i = 1 \dots M$) recording the count of free spin combinations triggering the $i$-th bonus mini-game.
  • $S_{tf,f}$ (Sum of Trigger Freespins — Free Spins): Sum of products of unscaled free spin reel payout and re-triggered free spin length:

$$S_{tf,f} = \sum_{n=1}^{N_f} x_{n,f} \cdot k_{n,f}$$

  • $S_{tb,f}$ (Sum of Trigger Bonuses — Free Spins): Sum of unscaled free spin reel payouts $x_{n,f}$ on spins where any bonus mini-game triggers:

$$S_{tb,f} = \sum_{n \in \text{bonus}_f} x_{n,f}$$


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

Regular Reel Set ($r$)

  • Reel Expected Value ($\mu_r$):

$$\mu_r = \frac{S_r}{N_r}$$

  • Reel Variance ($D_r$):

$$D_r = \frac{Q_r}{N_r} - \mu_r^2$$

Free Spin Reel Set ($f$)

  • Unscaled Reel Expected Value ($\mu_f$):

$$\mu_f = \frac{S_f}{N_f}$$

  • Unscaled Reel Variance ($D_f$):

$$D_f = \frac{Q_f}{N_f} - \mu_f^2$$


3. Bonus Mini-Game Statistics ($b$)

Each $i$-th mini-game ($i \in {1 \dots M}$) is characterized by its conditional expected payout $\mu_{b,i}$ and conditional variance $D_{b,i}$ upon triggering. Its trigger probabilities on each reel set are:

$$p_{b,r}[i] = \frac{C_{b,r}[i]}{N_r}, \qquad p_{b,f}[i] = \frac{C_{b,f}[i]}{N_f}$$

For any reel set $s \in {r, f}$, the expected mini-game payout per single spin is:

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

Mini-Game Variance per Single Spin ($D_{mini,s}$)

  • Case 1: Mutually Exclusive Mini-Games (Standard — at most one mini-game per spin):

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

  • Case 2: Independent / Simultaneous Mini-Games (multiple mini-games can trigger together):

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


4. Exact Cross-Covariances per Reel Set ($s \in {r, f}$)

For each reel set $s \in {r, f}$, let $p_{b,tot,s} = \sum_{i=1}^{M} p_{b,s}[i]$ and $\bar{\mu}{b,s} = \frac{\mu{mini,s}}{p_{b,tot,s}}$ (with $\bar{\mu}{b,s} = 0$ if $p{b,tot,s} = 0$).

  • Reel Payout vs. Mini-Game Payout Covariance ($C_{XY,s}$):

$$C_{XY,s} = \text{Cov}(X_s, Y_{mini,s}) = \left( \frac{S_{tb,s}}{N_s} \cdot \bar{\mu}_{b,s} \right) - \mu_s \cdot \mu_{mini,s}$$

(If $S_{tb,s}$ is accumulated weighted by $\mu_{b,i(n)}$, this simplifies to $C_{XY,s} = \frac{S_{tb,s}}{N_s} - \mu_s \cdot \mu_{mini,s}$.)

  • Reel Payout vs. Free Spin Length Covariance ($C_{XK,s}$):

$$C_{XK,s} = \text{Cov}(X_s, K_s) = \frac{S_{tf,s}}{N_s} - \mu_s \cdot E[K_s]$$

  • Mini-Game Payout vs. Free Spin Length Covariance ($C_{YK,s}$):

Assuming free spins and mini-games are mutually exclusive on the same spin ($Y_{mini,s} \cdot K_s = 0$):

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


5. Combined Single-Spin Parameters

A. Regular Spin (Base Paid Spin)

$$\mu_{spin,r} = \mu_r + \mu_{mini,r}$$

$$D_{spin,r} = D_r + D_{mini,r} + 2 \cdot C_{XY,r}$$

B. Free Spin (Effective Single-Spin Parameters)

The effective parameters of a single free spin depend on whether multiplier $m$ applies to mini-games:

  • Variant A (Multiplier $m$ scales both reel wins and mini-game wins):

$$\mu_{fg} = m \cdot (\mu_f + \mu_{mini,f})$$

$$D_{fg} = m^2 \cdot \left( D_f + D_{mini,f} + 2 \cdot C_{XY,f} \right)$$

$$C_{\text{spin},K,f} = m \cdot \left( C_{XK,f} + C_{YK,f} \right)$$

  • Variant B (Multiplier $m$ scales reel wins only; mini-games remain unscaled $1\times$):

$$\mu_{fg} = m \cdot \mu_f + \mu_{mini,f}$$

$$D_{fg} = m^2 \cdot D_f + D_{mini,f} + 2 \cdot m \cdot C_{XY,f}$$

$$C_{\text{spin},K,f} = m \cdot C_{XK,f} + C_{YK,f}$$

And for the regular spin's total payout covariance with $K_r$ (independent of $m$):

$$C_{\text{spin},K,r} = C_{XK,r} + C_{YK,r}$$


6. Recursive Free Spin Series Parameters

  • Overall Free Spins Hit Rate ($HR_{fg}$):

$$HR_{fg} = \frac{C_{fg,r}}{N_r}$$

  • Expected Free Spin Awards per Spin:

$$E[K_r] = \frac{C_{fs,r}}{N_r}, \qquad E[K_f] = \frac{C_{fs,f}}{N_f}$$

  • Variances of Free Spin Awards:

$$\text{Var}(K_r) = \frac{Q_{fs,r}}{N_r} - (E[K_r])^2, \qquad \text{Var}(K_f) = \frac{Q_{fs,f}}{N_f} - (E[K_f])^2$$

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

$$q = E[N_{fg}] = \frac{E[K_r]}{1 - E[K_f]} = \frac{C_{fs,r} \cdot N_f}{N_r \cdot (N_f - C_{fs,f})}$$

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

$$\text{Var}(N_{fg}) = \frac{\text{Var}(K_r)}{(1 - E[K_f])^2} + \frac{E[K_r] \cdot \text{Var}(K_f)}{(1 - E[K_f])^3}$$


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

Using the unified effective single-spin terms ($\mu_{spin,r}, D_{spin,r}, \mu_{fg}, D_{fg}, C_{\text{spin},K,r}, C_{\text{spin},K,f}$ defined in Section 5 for Variant A or Variant B):

Total Expected Value ($EV$ / $RTP$)

$$EV = \mu_{spin,r} + q \cdot \mu_{fg}$$

Total Variance ($DX$)

Applying the Law of Total Variance for dual-reel recursive branching processes with exact trigger covariances on both reel sets:

$$DX = D_{spin,r} + q \cdot D_{fg} + \mu_{fg}^2 \cdot \text{Var}(N_{fg}) + 2 \cdot \frac{\mu_{fg}}{1 - E[K_f]} \left( C_{\text{spin},K,r} + q \cdot C_{\text{spin},K,f} \right)$$


Summary Table of Variables

Variable Formula / Source Description
$N_r, N_f$ $\prod r_{i,r}, \quad \prod r_{i,f}$ Search space sizes for regular ($r$) and free spin ($f$) reels
$\mu_r, D_r$ $S_r/N_r, \quad Q_r/N_r - \mu_r^2$ Regular reel-only EV and Variance
$\mu_f, D_f$ $S_f/N_f, \quad Q_f/N_f - \mu_f^2$ Unscaled free spin reel-only EV and Variance
$p_{b,s}[i]$ $C_{b,s}[i] / N_s$ Trigger probability of mini-game $i$ on reel set $s \in {r, f}$
$\mu_{mini,s}, D_{mini,s}$ See Section 3 Total mini-game EV and Variance per spin on reel set $s$
$C_{XY,s}$ $\left(\frac{S_{tb,s}}{N_s} \cdot \bar{\mu}{b,s}\right) - \mu_s \mu{mini,s}$ Exact covariance between reel wins and mini-games on set $s$
$C_{XK,s}$ $\frac{S_{tf,s}}{N_s} - \mu_s E[K_s]$ Exact covariance between reel wins and free spin award on set $s$
$C_{YK,s}$ $-\mu_{mini,s} E[K_s]$ Covariance between mini-games and free spin award on set $s$
$\mu_{spin,r}, D_{spin,r}$ $\mu_r + \mu_{mini,r}, \quad D_r + D_{mini,r} + 2 C_{XY,r}$ Combined EV and Variance of 1 paid regular spin
$\mu_{fg}, D_{fg}$ Variant A or Variant B (Section 5) Effective EV and Variance of 1 free spin
$q$ $E[K_r] / (1 - E[K_f])$ Expected total free spins per paid spin
$\text{Var}(N_{fg})$ $\frac{\text{Var}(K_r)}{(1 - E[K_f])^2} + \frac{E[K_r] \text{Var}(K_f)}{(1 - E[K_f])^3}$ Variance of total free spin series length
$EV$ $\mu_{spin,r} + q \cdot \mu_{fg}$ Total Game Expected Value (RTP)
$DX$ See Section 7 Total Game Variance
$\sigma$ $\sqrt{DX}$ Standard Deviation ($\sigma$)

Clone this wiki locally