https://github.com/dataplayer12/goldbach-comet
Compute the Goldbach partition function efficiently
https://github.com/dataplayer12/goldbach-comet
goldbach-conjecture
Last synced: 6 months ago
JSON representation
Compute the Goldbach partition function efficiently
- Host: GitHub
- URL: https://github.com/dataplayer12/goldbach-comet
- Owner: dataplayer12
- License: mit
- Created: 2025-06-21T12:40:48.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-07-12T11:21:12.000Z (7 months ago)
- Last Synced: 2025-08-15T11:49:56.117Z (6 months ago)
- Topics: goldbach-conjecture
- Language: C++
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Goldbach partition function G(x)
The Goldbach parition function G(x), defined for even numbers, is the number of ways in which an even number can be written as the sum of two primes
This project implements an efficient library to
- calculate primes and
- calculate G(x) for any (even) x
# Goldbach comet
Tghe plot of G(x) famously looks like the tail of a comet and is called Goldbach comet. The present project reproduces the classic comet shape of this mathemtical object.

# Inspiration
Inspired from this brilliant video by [Veritasium](https://youtu.be/x32Zq-XvID4?si=7T3OLGcvwPctgKD8)