

Every week we test whether statistical, LSTM, Transformer and ensemble models beat random picks on Korea's Lotto 6/45, using the full draw history.
Each method publishes 100 combinations before the draw; after the draw they are scored automatically and the results accumulate.
The NumLM AI lottery experiment is a public, weekly test of whether statistical, LSTM, Transformer and ensemble models trained on the full Korean Lotto 6/45 history beat uniform random picks, judged only by the cumulative scoring of 100 combinations per model published before each draw.
Try it yourself: Open the Transformer used here · Markov chain experiment · Open data (JSON)
Published: · sales cutoff: 9/26/2026, 08:00 PM KST · data: full history through draw #1242 (1242 draws); draws #1–#1222 used for training, the latest 20 draws (#1223–#1242) reserved as a validation holdout · seed rule: draw × 1000 + method id (reproducible) · Markov stats: co-occurrence transitions over the last 199 draws, current state = draw #1242 [2, 4, 10, 16, 31, 41], candidate pool = top 18 (previous-draw numbers stay eligible — 2 of them are in this pool)
Change log — statistical method replaced — on 9/20/2026, 04:28 PM KST, before sales closed, the statistical method was changed from "Statistical — Markov chain (previous numbers excluded)" to "Statistical — Markov chain" (same seed, same history; the other three methods untouched). The 100 previous combinations are kept below and are not scored.
1
2
3
4
5
New model added — Global Lottery Ensemble — added 9/26/2026, 10:39 AM KST, before sales closed. The four existing methods' combinations and timestamps are unchanged; this model's cumulative record starts at draw #1243.
What this week's training tells us — holdout validation loss: Transformer 2.6286 · LSTM 2.6134. The theoretical floor for a random draw is 2.2733 (ln C(45,6)/7), so on draws they have never seen neither model even reaches the floor — a measurement of "the models learn the format (sorted numbers, separators) but not the content (which combination)".
Uniform random (control)
Six numbers drawn uniformly from 1–45 with no analysis at all. The question is whether anything beats this.1
2
3
4
5
Statistical — Markov chain
Estimates transition probabilities P(Y|X) from co-occurrence in the last 200 draws and scores each number by the average P(Y|X) over the previous draw's six numbers; those numbers stay eligible (in real draws about 0.8 of them repeat). Weighted sampling from the top 18. An honest implementation of the "numbers that come together" strategy.1
2
3
4
5
LSTM (actually trained)
Autoregressive sampling from an LSTM trained on the draw history as a token stream (next-token prediction).1
2
3
4
5
Transformer decoder (actually trained)
Autoregressive sampling from a causal Transformer decoder trained on the same stream — the same architecture as the Decoder Atlas lab.1
2
3
4
5
Global Lottery Ensemble
1
2
3
4
5
Winning numbers
+
| Numbers matched | Random | Stats | LSTM | Transformer | Ensemble | Expected (hypergeometric) |
|---|---|---|---|---|---|---|
| 0 | 39 | 69 | 37 | 33 | — | 40.06 |
| 1 | 41 | 31 | 51 | 41 | — | 42.41 |
| 2 | 18 | 0 | 12 | 21 | — | 15.15 |
| 3 | 2 | 0 | 0 | 5 | — | 2.24 |
| 4 | 0 | 0 | 0 | 0 | — | 0.14 |
| 5 🎯 | 0 | 0 | 0 | 0 | — | 2.9e-3 |
| 6 🎯 | 0 | 0 | 0 | 0 | — | 1.2e-5 |
4 draws scored · 400 combinations per method (1600 in total) · Global Lottery Ensemble: not scored yet (new arm — no back-filling) · the "Stats" column combines frequency weighting for 2 draws (through #1240) + Markov chain excluding previous numbers for 2 draws (from #1241)
| Numbers matched | Random | Stats | LSTM | Transformer | Ensemblenot scored yet | Expected (hypergeometric) |
|---|---|---|---|---|---|---|
| 0 | 166 | 173 | 149 | 153 | — | 160.23 |
| 1 | 170 | 163 | 182 | 164 | — | 169.65 |
| 2 | 52 | 55 | 63 | 67 | — | 60.59 |
| 3 | 12 | 8 | 6 | 14 | — | 8.98 |
| 4 | 0 | 1 | 0 | 2 | — | 0.55 |
| 5 🎯 | 0 | 0 | 0 | 0 | — | 0.01 |
| 6 🎯 | 0 | 0 | 0 | 0 | — | 4.9e-5 |
| Metric | Random | Stats | LSTM | Transformer | Ensemble | Expected |
|---|---|---|---|---|---|---|
| Average matches per combination | 0.775 | 0.752 | 0.815 | 0.870 | — | 0.800 |
| 3+ matches (cumulative) | 12 | 9 | 6 | 16 | — | 9.53 |
| Best match ever | 3 | 4 | 3 | 4 | — | — |
| Draws taken part (since) | 4 (from #1239) | 4 (from #1239) | 4 (from #1239) | 4 (from #1239) | 0 | — |
| Draw | Random | Stats | LSTM | Transformer | Ensemble |
|---|---|---|---|---|---|
| #1242 | 0.83 | 0.31 | 0.75 | 0.98 | — |
| #1241 | 0.75 | 1.05 | 0.98 | 0.78 | — |
| #1240 | 0.73 | 0.85 | 0.67 | 0.87 | — |
| #1239 | 0.79 | 0.80 | 0.86 | 0.85 | — |
Combines well-known lottery heuristics with statistical, probabilistic and AI signals into 100 combinations per draw. No conclusion is fixed in advance — only the cumulative scoring of pre-published combinations answers the question. Joined at draw #1243 · added 9/26/2026, 10:39 AM KST (before sales closed) · earlier draws are not back-filled.
Traditional
Funatsu rules · Hot/Cold · GapRelationships
Pair · Triple · MarkovProbability & ML
Bayesian · Machine learningDeep learning
LSTM · TransformerMany signals → validated on past draws (walk-forward) → ensemble score → 20,000 candidate combinations → near-duplicates removed → 100 combinations. The weights are not hand-picked: they are learned from predicting the last 20 draws using only earlier history (no single method above 30%).
| Traditional statistics 19% | Hot / Cold 9% · Gap / Overdue 10% |
| Relationships 20% | Markov 20% |
| Probability 20% | Bayesian 20% |
| Machine learning 19% | Machine learning 19% |
| Deep learning 22% | LSTM 11% · Transformer 11% |
Number ensemble score 30% · Funatsu rules 33% · Pair 26% · Triple 9% · Structure 2%
Hot / Cold: Average standardised deviation of each number's count from its expectation (window × 6/45) over the last 10, 24, 50, 100 draws and the full history. Describes the past; it does not change the next draw. Gap / Overdue: Current gap since the last appearance ÷ historical mean gap, clipped to 0–3. A description of the drought, not a "due" signal. Bayesian: Posterior mean of each number's inclusion probability under a Beta prior. The prior is strong (worth ~300 draws) so small frequency differences are not mistaken for "ability". Markov: Conditional frequency P(n_t | j_{t-1}) that n follows j from the previous draw, shrunk towards 6/45 and averaged over the previous draw's six numbers. Machine learning: Logistic regression on draw × number rows (frequency deviations, gap, previous-draw inclusion, co-occurrence with the previous draw, Bayesian and Markov scores, parity, range), trained strictly walk-forward in time order. LSTM: Inclusion frequency of each number in combinations sampled from this experiment's LSTM (actually trained on the draw history). Transformer: The same inclusion frequency from this experiment's Transformer decoder. Funatsu rules: ① share of numbers that appeared 3–4 times in the last 24 draws ② 1–2 numbers carried over from the previous draw ③ a consecutive pair ④ a pair with the same last digit — the average of the four rules (no hard filter). Pair: Mean Laplace-smoothed co-occurrence lift of the 15 pairs in the combination. Triple: Mean Laplace-smoothed co-occurrence lift of the 20 triples in the combination. Structure: Mean log-likelihood ratio of the combination's odd count, low/high count (1–22 / 23–45), sum bucket and consecutive pairs against the distribution of random combinations. Never used as a hard filter.| # | Combination | Total | Numbers | Funatsu | Pair | Triple | Structure |
|---|---|---|---|---|---|---|---|
| 1 | 3 6 16 18 19 24 | 2.07 | 3.57 | 0.92 | 1.26 | 1.60 | 0.03 |
| 2 | 15 16 24 27 29 45 | 2.05 | 3.77 | 0.92 | 1.26 | 1.25 | 0.03 |
| 3 | 13 15 16 21 36 44 | 2.04 | 3.69 | 0.92 | 1.25 | 1.47 | -0.04 |
| 4 | 7 12 13 16 19 24 | 2.02 | 3.81 | 0.71 | 1.31 | 1.51 | 0.01 |
| 5 | 13 14 15 16 18 45 | 2.01 | 3.94 | 0.83 | 1.18 | 1.51 | 0.05 |
Find other concepts and labs
개념·랩·가이드 검색
Ctrl KSouth Korea's national lottery, drawn every Saturday. Players choose 6 different numbers from 1 to 45; 6 main numbers and a bonus number are drawn without replacement. Matching all 6 wins the jackpot at odds of 1 in 8,145,060. Draws are independent, so a fair draw carries no memory of previous results.
Not according to the measurements on this page. The LSTM and Transformer are genuinely trained on the full draw history, yet their loss on held-out recent draws never goes below the random-draw floor ln C(45,6)/7 ≈ 2.273, and the scored match distributions stay near the hypergeometric expectation. Results accumulate here every week.
Related: Transformer decoder atlas · Hypergeometric distribution (Korean)A fair draw is independent of every previous draw, so history does not change the next draw's probabilities. Under that assumption, the differences in frequency, gaps and co-occurrence seen in past data are better explained by sampling variation than by a persistent signal. This page does not ask you to take that on faith: every week 100 combinations are published before the draw and scored afterwards.
Compare them yourself in the cumulative table. A purely random picker averages 0.8 matches per combination and about 2.4 combinations with 3+ matches per 100. So far random, statistical, LSTM and Transformer arms all sit near those expectations; any single-draw difference is within chance.
Related: LSTM concept (Korean) · Transformer concept (Korean)Yes. Each of the 45 numbers appears in a draw with probability 6/45 ≈ 13.3%, and each of the 8,145,060 six-number combinations is equally likely. Note that "each number is equally likely" is not the same as "six independent uniform draws": the balls are drawn without replacement, so no number repeats within a draw and the six are not independent.
Related: Uniform distribution (Korean)No. Every six-number combination has the same 1 in 8,145,060 chance. The statistical arm of this experiment is an honest implementation of exactly that strategy (frequency weighting, then Markov co-occurrence), and its cumulative record is indistinguishable from random picks.
The fifth arm of the experiment. It combines traditional lottery heuristics (Funatsu rules), hot/cold and gap statistics, pair/triple co-occurrence, Bayesian and Markov models, machine learning, LSTM and Transformer predictions into 100 combinations, with weights learned walk-forward on past draws. It tests whether combining many methods beats random; its record starts from the draw it joined. It does not improve your odds.