| license: mit | |
| tags: | |
| - kernels | |
| - cuda | |
| - ramanujan-machine | |
| - continued-fractions | |
| - mathematical-constants | |
| - number-theory | |
| datasets: | |
| - cahlen/ramanujan-machine-results | |
| # Ramanujan Machine v2 (Asymmetric-Degree CF Search) | |
| Searches for polynomial continued fraction formulas with asymmetric degrees. Evaluates CF candidates and matches against known mathematical constants. | |
| ## Usage | |
| ```python | |
| import torch | |
| from kernels import get_kernel | |
| kernel = get_kernel("cahlen/ramanujan-machine-cuda") | |
| result = ramanujan.search(deg_a=1, deg_b=2, range_a=10, range_b=10) | |
| ``` | |
| ## Compile (standalone) | |
| ```bash | |
| nvcc -O3 -arch=sm_90 -o ramanujan_machine ramanujan/ramanujan_v2.cu -lm | |
| ``` | |
| ## Results | |
| All computation results are open: | |
| - **Website**: [bigcompute.science](https://bigcompute.science) | |
| - **Datasets**: [huggingface.co/cahlen](https://huggingface.co/cahlen) | |
| - **Source**: [github.com/cahlen/idontknow](https://github.com/cahlen/idontknow) | |
| ## Citation | |
| ```bibtex | |
| @misc{humphreys2026bigcompute, | |
| author = {Humphreys, Cahlen}, | |
| title = {bigcompute.science: GPU-Accelerated Computational Mathematics}, | |
| year = {2026}, | |
| url = {https://bigcompute.science} | |
| } | |
| ``` | |
| *Human-AI collaborative. Not peer-reviewed. All code and data open.* | |