Guide

Totient Descent Reels: Rules and Math

The official website of 66mb. Totient Descent Reels uses two hexadecimal symbols and an arithmetic reward rule. This page explains the calculation for this original demo; it is not a payline or bonus guide for an outside slot product.

From two symbols to one integer

Each spin produces two independent, equally likely hexadecimal symbols. Digits 0 to 9 keep their usual values; A, B, C, D, E, and F represent 10 to 15. Read the first reel as the high digit and calculate n = 16 × first value + second value + 1. The 256 ordered reel pairs give every integer from 1 to 256 with equal probability 1/256.

For example, first reel 0 and second reel F give n = 16, while F and F give n = 256. The reel order matters: 0 and 1 give n = 2, whereas 1 and 0 give n = 17.

Counting totient transitions

Euler’s totient function φ(n) counts the positive integers up to n that are coprime to n. The demo repeatedly replaces n with φ(n) until it reaches 1, counting the transitions. Starting at 1 needs zero transitions. The minimum statistic across the 256 outcomes is zero, so the reward score is the transition count itself. This is an arithmetic rule for this demo, rather than matching symbols on a payline.

Reels 0 and 0 give n = 1. No totient transition is needed, so score, weight, and gross multiplier are zero for every curve. This specific pair has probability 1/256. Other pairs have positive raw multipliers, but their whole-coin credit depends on the stake, curve, and saved carry.

Reward curves and exact normalisation

Choose Linear, Square, or Cube while idle. Their weights are the score, score squared, and score cubed. The gross multiplier is 0.96 times the weight divided by that curve’s exact average weight over all 256 outcomes. The total weights are 1533, 9623, and 62241 respectively; their averages are those totals divided by 256. The selected curve changes individual returns, while each has the same exact 96% expected raw gross return.

Equivalently, divide 0.96 × 256 × the chosen weight by the corresponding total 1533, 9623, or 62241. The total is not the average: dividing it by 256 is essential when using the mean-weight formula.

A worked return and a small credit

As a worked example, reels 0 and 3 give n = 4. The transitions are 4 → 2 → 1, so the score is 2. The Linear, Square, and Cube weights are 2, 4, and 8. In Linear mode the exact multiplier is 0.96 × 256 × 2 / 1533. For stake 20 and no prior carry, the raw return is about 6.4125 coins, so six coins are credited and the remaining fraction is saved.

A positive raw return is not the same as a positive whole-coin credit. If raw return plus saved carry is below one coin, the credit is zero and the fraction is retained. Gross return also differs from net profit: it includes the stake, so a positive return can still be smaller than the amount deducted.

For the same score 2 under Cube, the weight is 8. At stake 20 and no prior carry, raw return is below one coin, so the whole-coin credit is zero while the fraction remains saved. This differs from the raw zero return of reels 0 and 0.

Spin controls and wallet rules

The stake presets are 10, 20, 50, and 100 virtual coins. The defaults are stake 20 and Linear. A spin captures and deducts one stake for both reels. Stake and curve selections, restoration, and another spin are locked until settlement. There are no separate row bets, bonus rounds, or intermediate collection controls. The ordinary settling display lasts about 500 milliseconds; reduced-motion mode finishes promptly on its next update.

A wallet with no valid saved balance starts at 1000 virtual coins. The raw return is the captured stake multiplied by the gross multiplier. At settlement, the wallet combines raw return and saved fractional carry, credits the whole-number part of that sum, and retains the fractional remainder. A raw zero return leaves carry unchanged. The balance, including zero, and carry are saved in this browser’s localStorage.

When the game is idle and the balance is below 10, the manual restoration control sets the balance to exactly 1000 coins. It preserves carry and does not add 1000 to the old balance. Restoration is not automatic.

Reloading before a spin settles leaves its stake deducted and gives no refund, payout, or continuation. The spin does not resume. The saved balance and carry remain, but the controls return to stake 20, Linear, and an idle game. Stake and curve selections are not persistent account settings.

Exact expectation and saved simulations

The exact 96% expected raw gross return is an average over all equally likely reel pairs, not a win probability or a promised session result. The curve weights and their exact mean establish that expectation. Wallet carry preserves fractions across completed settlements; it does not guarantee a profitable round or recover previous losses. An unfinished reload receives no return.

Saved source-bound simulations ran 1,000,000 rounds per curve. Their measured raw gross returns were 96.0159% for Linear, 96.0248% for Square, and 96.0064% for Cube. These are previously saved sample observations, not newly run tests, the proof of the payout formula, or guarantees for future play.

Frequently asked questions

Is this a conventional payline slot?

No. This demo uses two hexadecimal values and a totient-transition score. Both reels share one stake; there are no row bets, bonus rounds, or intermediate collection controls.

How is the raw return calculated?

Multiply the captured stake by 0.96 times the selected score weight divided by its exact 256-outcome mean. The wallet then combines that raw return with carry before crediting the whole-number part.

Can I collect before both reels settle?

No. The spin settles once both results are processed. Reloading before settlement gives no refund, payout, or continuation.