Abstract painting of lottery balls and statistical charts — AI lottery experiment
NumLM logo
NumLM
LEARN · SIMULATE · VERIFY
Sign in
Learn
ToolsBlog
Help
Home
This page in other languages:한국어 원문
English
Weekly public experiment · locked before the draw · scored automatically

Can AI Predict Korean Lotto 6/45 Winning Numbers?

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.

This week — Draw #1243, 100 combinationsCumulative results

At a glance

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.

  • Five arms — uniform random (control), a statistical Markov-chain method, an LSTM, a Transformer decoder and the Global Lottery Ensemble — each publish 100 combinations per draw.
  • Combinations are generated and published before ticket sales close (Saturday 20:00 KST) with a recorded timestamp; nothing is generated or edited after the cutoff.
  • Expectation for a perfectly random picker (hypergeometric): 0.8 matches per combination, about 2.38 combinations with 3+ matches per 100, and jackpot odds of 1 in 8,145,060.
  • The holdout validation loss of the LSTM and Transformer never goes below the random-draw floor ln C(45,6)/7 ≈ 2.273 — a measurement that the models learn the format but not the content.
  • Seeds are public (draw × 1000 + method id; FNV-1a hash for the ensemble), so anyone with the same history can reproduce the same combinations.
Live measurements (server-rendered, current as of this page load)
  • Across 4 scored draws, average matches per combination — Random 0.775 · Stats 0.752 · LSTM 0.815 · Transformer 0.870 (expected 0.800).
  • Cumulative combinations with 3+ matches — Random 12 · Stats 9 · LSTM 6 · Transformer 16 (expected 9.53 per method).
  • Latest scored draw #1242 (2026-09-19): winning numbers 2, 4, 10, 16, 31, 41 + bonus 9; average matches by method Random 0.83 · Stats 0.31 · LSTM 0.75 · Transformer 0.98.
  • Current draw #1243: combinations published 9/20/2026, 02:07 AM KST; sales cutoff 9/26/2026, 08:00 PM KST.

Try it yourself: Open the Transformer used here · Markov chain experiment · Open data (JSON)

New to Korean Lotto 6/45? Read this first
  • Lotto 6/45 is South Korea's national lottery: players pick 6 different numbers from 1 to 45.
  • One draw every Saturday evening; 6 main numbers plus a bonus number are drawn without replacement.
  • The odds of matching all 6 numbers with one ticket are 1 in 8,145,060 (C(45,6)). Each number appears in a draw with probability 6/45 ≈ 13.3%.
  • Before each draw, NumLM publishes 100 combinations from every model on this page and records the timestamp; nothing is changed afterwards.
  • After the draw, each set of 100 is scored automatically. If no method consistently beats the random control, that is the finding — the page is a verification, not a tips service.

This week's experiment — Draw #1243 · published before the draw

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

6
8
14
20
24
28

2

14
15
28
33
37
40

3

1
6
8
20
28
44

4

14
23
24
28
37
40

5

8
14
15
19
20
30

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

1
20
25
28
36
39

2

12
28
31
35
40
43

3

1
6
7
29
32
33

4

7
14
21
26
30
39

5

3
9
22
31
34
36

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

14
19
22
23
31
38

2

15
16
23
33
37
38

3

14
19
20
31
32
38

4

15
16
22
23
38
40

5

1
19
23
28
31
33

LSTM (actually trained)

Autoregressive sampling from an LSTM trained on the draw history as a token stream (next-token prediction).

1

3
6
19
21
41
44

2

1
7
14
19
27
38

3

6
14
17
24
26
37

4

5
13
23
29
35
44

5

10
19
26
29
31
39

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

9
13
17
19
27
40

2

6
11
17
18
31
32

3

3
7
9
17
23
26

4

2
17
21
39
44
45

5

5
16
20
24
27
36

Global Lottery Ensemble

New arm

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. Experimental — it does not improve your odds. Joined the experiment at draw #1243 · generated 9/26/2026, 10:39 AM KST · version WE-1.0. Its cumulative record starts from that draw; earlier draws are not back-filled.

1

3
6
16
18
19
24

2

15
16
24
27
29
45

3

13
15
16
21
36
44

4

7
12
13
16
19
24

5

13
14
15
16
18
45

Draw #1242 results (2026-09-19)

Winning numbers

2
4
10
16
31
41

+

9
(bonus)
Numbers matchedRandomStatsLSTMTransformerEnsembleExpected (hypergeometric)
039693733—40.06
141315141—42.41
21801221—15.15
32005—2.24
40000—0.14
5 🎯0000—2.9e-3
6 🎯0000—1.2e-5
Per method, 100 combinations ("—" = the method did not take part in that draw). Expected = the number of combinations a perfectly random picker would produce — if every method sits near it, none of them is doing better than chance.
Random: avg 0.83 · best 3
Stats: avg 0.31 · best 1
LSTM: avg 0.75 · best 2
Transformer: avg 0.98 · best 3
Expected average 0.80 per combination

Cumulative results — the picture sharpens as draws accumulate

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 matchedRandomStatsLSTMTransformerEnsemblenot scored yetExpected (hypergeometric)
0166173149153—160.23
1170163182164—169.65
252556367—60.59
3128614—8.98
40102—0.55
5 🎯0000—0.01
6 🎯0000—4.9e-5
Per method, 400 combinations ("—" = the method did not take part in that draw). Expected = the number of combinations a perfectly random picker would produce — if every method sits near it, none of them is doing better than chance.

MetricRandomStatsLSTMTransformerEnsembleExpected
Average matches per combination0.7750.7520.8150.870—0.800
3+ matches (cumulative)129616—9.53
Best match ever3434——
Draws taken part (since)4 (from #1239)4 (from #1239)4 (from #1239)4 (from #1239)0—
Average matches by draw
DrawRandomStatsLSTMTransformerEnsemble
#12420.830.310.750.98—
#12410.751.050.980.78—
#12400.730.850.670.87—
#12390.790.800.860.85—

Global Lottery Ensemble — does combining many methods beat random?

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 · Gap

Relationships

Pair · Triple · Markov

Probability & ML

Bayesian · Machine learning

Deep learning

LSTM · Transformer

Many 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%).

Number layer — weight per signal (group → within group)
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%
Combination layer — weight per combination property

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.
Top 10 numbers by ensemble score this draw (0–1, weighted sum of percentile-normalised signals)
16 · 0.72
15 · 0.71
12 · 0.71
1 · 0.70
44 · 0.69
45 · 0.68
13 · 0.66
27 · 0.65
24 · 0.64
17 · 0.64
The 100 combinations are not simply the top numbers bundled together: 20,000 candidates are sampled with softmax(score/T, T=2), sorted by combination score, then filtered so no two share 4+ numbers and no number dominates (diversity is a coverage rule, not a prediction rule). Reproduction: version WE-1.0 · seed 2734868010 (= FNV-1a("1243|WE-1.0|1242")) · history through draw #1242 · generated in 167.4s.
Combination scores (top 5)
#CombinationTotalNumbersFunatsuPairTripleStructure
13 6 16 18 19 242.073.570.921.261.600.03
215 16 24 27 29 452.053.770.921.261.250.03
313 15 16 21 36 442.043.690.921.251.47-0.04
47 12 13 16 19 242.023.810.711.311.510.01
513 14 15 16 18 452.013.940.831.181.510.05

Why even AI cannot predict the draw — what this experiment teaches

  • The models are not dumb. The same Transformer and LSTM learn sequences with structure (text, patterned data) easily — in the verification script the loss on patterned data falls to less than half the floor. A fair draw simply contains no pattern to learn.
  • "They learn the format, not the content" — the loss does go below ln 45, down to the floor of the sorted encoding, ln C(45,6)/7 ≈ 2.273 (ascending order, separator tokens). On draws the models have never seen it never goes lower. That wall is randomness itself.
  • The same holds for "hot numbers" (frequency) and "numbers that come together" (Markov transition probabilities) — in a random draw those differences are sampling noise, so with enough draws they become indistinguishable from uniform random picks. The statistical arm used frequency weighting through draw #1240 and the Markov chain technique from #1241.
  • "Does combining many methods help?" — the Global Lottery Ensemble merges Funatsu rules, hot/cold, gap, pair/triple, Bayesian, Markov, ML, LSTM and Transformer signals with walk-forward-learned weights. If each signal is noise, the combination is noise too — whether that is so is answered by the cumulative table.
  • The jackpot odds are 1 in 8,145,060 per combination. Even 500 combinations a week for a whole year give an expected 0.0032 jackpots. The cumulative table on this page reproduces that arithmetic with real draws.
Markov transition probabilities →

Find other concepts and labs

개념·랩·가이드 검색

Ctrl K

FAQ — can AI really predict the lottery?

Q. What is Korean Lotto 6/45?

South 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.

Q. Can AI predict Korean lottery numbers?

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)

Q. Can past draw data predict future winning numbers?

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.

Q. Do LSTM or Transformer models beat random picks?

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)

Q. Are all numbers really equally likely?

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)

Q. Is it better to pick frequently drawn numbers?

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.

Q. What is the Global Lottery Ensemble?

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.