mirror of
https://github.com/tiennm99/lottery-generator.git
synced 2026-10-11 03:13:41 +00:00
docs: link earlier Java and Python versions by commit and fix module path
This commit is contained in:
1 parent
0252800503
commit
426781b3ac
2 files changed
+9
-4
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# go-lottery-generator
|
||||
# lottery-generator
|
||||
|
||||
A lottery number generator written in Go that generates random sequences and tracks when any sequence appears multiple times.
|
||||
|
||||
@@ -29,6 +29,11 @@ This is a statistical curiosity inspired by [Vietlott](https://vietlott.vn/) Pow
|
||||
|
||||
By the birthday paradox, with C(45,6) = 8,145,060 possible combinations, you'd expect a repeat after roughly √(2 × 8,145,060 × ln 2) ≈ **3,360 draws** on average. This program runs the simulation and stops as soon as one sequence has been generated exactly 6 times — letting you observe the actual count empirically.
|
||||
|
||||
## Original Python Version
|
||||
## Earlier versions
|
||||
|
||||
*In 2025, I rewrote this project using Go. The original Python version of this project can be found at [feature/python](https://github.com/tiennm99/lottery-generator/tree/feature/python) branch.*
|
||||
This repository keeps the full history of the earlier implementations. The first
|
||||
version was written in Java (2023), then rewritten in Python, and in 2025 in Go.
|
||||
Browse them at the last commit of each:
|
||||
|
||||
- [Java version](https://github.com/tiennm99/lottery-generator/tree/98c8ad5a6b49bda9ec342a95408fb10676640d22)
|
||||
- [Python version](https://github.com/tiennm99/lottery-generator/tree/f7432edaf382954e1dacfc4833b3120a64546163)
|
||||
Reference in new issue
Block a user