Fundamental principle
The "5 years + 2" methodology is the core of the HYBRIDE engine applied to EuroMillions. It combines two time horizons to balance statistical stability and responsiveness to trends.
5 years : Frequency analysis over the entire available history (2019-2026)
+ 2 : Reinforced weighting on the last 2 years to capture recent trends
Data sources
- Database : Cloud SQL (MySQL) hosted on Google Cloud
- History : 729+ official EuroMillions draws since February 2004
- Frequency : Draws on Tuesdays and Fridays
- Update : Synchronisation after each official draw
- Integrity : Systematic verification of source data
Calculated metrics
Frequencies
For each number (1-50) and each star (1-12), calculation of the number of appearances over the analysed period.
Gaps
Number of draws since the last appearance of each number and each star.
Conformity analysis
Multi-criteria evaluation based on:
- Odd/even balance (optimal ratio: 2-3 even)
- Low/high distribution (numbers 1-25 vs 26-50)
- Dispersion (spread between min and max)
- Total sum (optimal range: ~125)
- Consecutive sequence detection
- Stars evaluated separately (1-12)
Temporal weighting
The HYBRIDE engine applies a two-layer weighting system:
Layer 1 — Long-term base
The complete EuroMillions draw history is analysed to establish reference frequencies. This base ensures statistical stability and identifies deep trends.
Layer 2 — Recent boost
Draws from the last 2 years receive a higher weighting coefficient. This captures potential trend shifts without losing historical perspective.
This dual horizon is the reason for the name "5 years + 2": 5 years of historical depth, with reinforced weighting on the last 2 years.
Generation process
The HYBRIDE engine follows a 5-step pipeline for each generated grid:
- Collection : Extraction of official draws from the database
- Calculation : Frequencies, gaps and temporal weightings for numbers (1-50) and stars (1-12)
- Generation : Probabilistic selection of candidate combinations (5 numbers + 2 stars)
- Scoring : Multi-criteria evaluation of each candidate combination
- Selection : Ranking by conformity score and returning the best grids
Scientific limitations
Warning : EuroMillions is a game of chance. Each draw is statistically independent. No method can predict future results.
The "5 years + 2" methodology offers statistically guided grids, not predictions.
Probability of winning the jackpot: 1 in 139,838,160
Tech stack
- Backend : FastAPI (Python 3.13+)
- Infrastructure : Google Cloud Run (auto-scaling)
- Database : Cloud SQL (MySQL)
- Engine : HYBRIDE
- Region : Google Cloud — European Union