An open API service indexing awesome lists of open source software.

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

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.

![Goldbach](https://github.com/user-attachments/assets/34b8f62d-574f-4477-b0f6-3e14378f68a5)

# Inspiration

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