Skip to content

dual reel recursive

schwarzlichtbezirk edited this page Nov 29, 2026 · 2 revisions

Mathematical Model: Dual-Reel Set with Recursive Free Spins and Exact Trigger Covariance

This document defines the closed-form equations for calculating the Expected Value ($EV$ / $RTP$), Total Variance ($DX$), and Free Spins Hit Rate ($HR_{fg}$) 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 free spins.

In this model, $\mu_f$ and $D_f$ represent the unscaled expected value and variance of the free spin reels (without multiplier $m$). The model explicitly accounts for recursive re-triggers on the free spin reels and the exact covariance between a triggering spin's payout and the awarded free spin series via counters $S_{tf,r}$ and $S_{tf,f}$.


1. Combinatorial Scope & Accumulated Counters

A. Regular Game Reel Set ($r$)

Let $x_{n,r}$ denote the total line and scatter payout on regular 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 on combination $n$:

  • 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$: Total sum of payouts across all $N_r$ regular combinations ($\sum_{n=1}^{N_r} x_{n,r}$).
  • $Q_r$: Sum of squared payouts across all $N_r$ regular combinations ($\sum_{n=1}^{N_r} x_{n,r}^2$).
  • $C_{fg,r}$: Total count of regular combinations triggering a free spin series.
  • $C_{fs,r}$: Total count of 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$).
  • $S_{tf,r}$ (Sum of Trigger Freespins — Regular): Sum of products of the triggering regular spin payout and awarded free spin length:

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

B. Free Spin Reel Set ($f$)

Let $x_{n,f}$ denote the unscaled line and 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 on combination $n$:

  • 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$: Total sum of unscaled payouts across all $N_f$ free spin combinations ($\sum_{n=1}^{N_f} x_{n,f}$).
  • $Q_f$: Sum of squared unscaled payouts across all $N_f$ free spin combinations ($\sum_{n=1}^{N_f} x_{n,f}^2$).
  • $C_{fg,f}$: Total count of free spin combinations triggering a re-trigger.
  • $C_{fs,f}$: Total count of 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$).
  • $S_{tf,f}$ (Sum of Trigger Freespins — Free Spins): Sum of products of the unscaled free spin payout and re-triggered free spin length:

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


2. Unscaled Single-Spin Statistics per Reel Set

Regular Spins (Paid Spin)

  • Regular Expected Value ($\mu_r$):

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

  • Regular Variance ($D_r$):

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

Free Spins (Unscaled / Raw)

  • Free Spin Expected Value ($\mu_f$):

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

  • Free Spin Variance ($D_f$):

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


3. Hit Rates & Free Spin Series Parameters

A. Primary Triggers from Regular Reels ($K_r$)

  • Overall Free Spins Hit Rate ($HR_{fg}$): Probability of triggering a free spin session from 1 paid regular spin:

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

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

$$E[K_r] = \frac{C_{fs,r}}{N_r}$$

  • Second Moment ($E[K_r^2]$):

$$E[K_r^2] = \frac{Q_{fs,r}}{N_r}$$

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

$$\text{Var}(K_r) = E[K_r^2] - (E[K_r])^2 = \frac{Q_{fs,r}}{N_r} - \left(\frac{C_{fs,r}}{N_r}\right)^2$$

B. Re-Triggers from Free Spin Reels ($K_f$)

  • Re-Trigger Hit Rate ($HR_{fg,f}$): Probability of hitting a re-trigger during 1 free spin:

$$HR_{fg,f} = \frac{C_{fg,f}}{N_f}$$

  • Expected Re-Triggered Free Spins ($E[K_f]$):

$$E[K_f] = \frac{C_{fs,f}}{N_f}$$

  • Second Moment ($E[K_f^2]$):

$$E[K_f^2] = \frac{Q_{fs,f}}{N_f}$$

  • Variance of Re-Triggered Free Spins ( $\text{Var}(K_f)$ ):

$$\text{Var}(K_f) = E[K_f^2] - (E[K_f])^2 = \frac{Q_{fs,f}}{N_f} - \left(\frac{C_{fs,f}}{N_f}\right)^2$$

C. Recursive Series Totals ($N_{fg}$)

  • Recursive Free Spin Ratio ($q$): Total expected free spins generated per paid regular 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 Spins 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}$$


4. Exact Trigger-to-Payout Covariances

Because triggering combinations (e.g., 4 or 5 scatters) award substantial direct payouts alongside free spins, the spin payout and the awarded free spin length are correlated on both reel sets:

  • Regular Spin Trigger Covariance ($C_{XK,r}$):

$$C_{XK,r} = \text{Cov}(X_r, K_r) = \frac{S_{tf,r}}{N_r} - \mu_r \cdot E[K_r]$$

  • Free Spin Re-Trigger Covariance ($C_{XK,f}$, unscaled):

$$C_{XK,f} = \text{Cov}(X_f, K_f) = \frac{S_{tf,f}}{N_f} - \mu_f \cdot E[K_f]$$


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

During free spins, all payouts from the free spin reel set are multiplied by $m$.

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

$$EV = \mu_r + q \cdot m \cdot \mu_f = \mu_r + \frac{E[K_r]}{1 - E[K_f]} \cdot m \cdot \mu_f$$

Total Variance ($DX$)

Applying the Law of Total Variance for dual-reel recursive branching processes, accounting for regular-to-free-spin trigger covariance ($C_{XK,r}$) and internal free-spin re-trigger covariance ($m \cdot C_{XK,f}$):

$$DX = D_r + q \cdot m^2 \cdot D_f + (m \cdot \mu_f)^2 \cdot \text{Var}(N_{fg}) + 2 \cdot \frac{m \cdot \mu_f}{1 - E[K_f]} \left( C_{XK,r} + q \cdot m \cdot C_{XK,f} \right)$$


Summary Table of Variables

Variable Formula / Source Description
$N_r, N_f$ $\prod r_{i,r}, \quad \prod r_{i,f}$ Combinatorial search space sizes for regular and free spin reels
$\mu_r, D_r$ $S_r / N_r, \quad (Q_r / N_r) - \mu_r^2$ Expected Value and Variance of 1 regular spin
$\mu_f, D_f$ $S_f / N_f, \quad (Q_f / N_f) - \mu_f^2$ Unscaled Expected Value and Variance of 1 free spin
$HR_{fg}$ $C_{fg,r} / N_r$ Overall Free Spins Hit Rate (per paid spin)
$HR_{fg,f}$ $C_{fg,f} / N_f$ Re-trigger hit rate per single free spin
$E[K_r], E[K_f]$ $C_{fs,r} / N_r, \quad C_{fs,f} / N_f$ Expected initial and re-triggered free spins per spin
$\text{Var}(K_r), \text{Var}(K_f)$ $(Q_{fs} / N) - E[K]^2$ Variances of initial and re-triggered free spin awards
$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
$C_{XK,r}$ $\frac{S_{tf,r}}{N_r} - \mu_r \cdot E[K_r]$ Exact trigger covariance on regular reels
$C_{XK,f}$ $\frac{S_{tf,f}}{N_f} - \mu_f \cdot E[K_f]$ Exact re-trigger covariance on free spin reels (unscaled)
$EV$ $\mu_r + q \cdot m \cdot \mu_f$ Total Game Expected Value (RTP)
$DX$ $D_r + q m^2 D_f + (m \mu_f)^2 \text{Var}(N_{fg}) + 2 \frac{m \mu_f}{1 - E[K_f]} (C_{XK,r} + q m C_{XK,f})$ Total Game Variance
$\sigma$ $\sqrt{DX}$ Standard Deviation ($\sigma$)

Clone this wiki locally