Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Get all representations of an even integer as the sum of two primes
ResourceFunction["Goldbach"][n] gives the even integer n represented as the sum of two primes. |
Some representations:
In[1]:= | ![]() |
Out[1]= | ![]() |
In[2]:= | ![]() |
Out[2]= | ![]() |
The "Goldbach comet":
In[3]:= | ![]() |
Out[3]= | ![]() |
The number of representations can be very large:
In[4]:= | ![]() |
Out[4]= | ![]() |
Timings to compute Goldbach:
In[5]:= | ![]() |
Out[5]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License