package
Version:
v0.0.0-...-36687a4
Opens a new window with list of versions in this module.
Published: Oct 28, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GoldbachsConjecture(even int) []int
GoldbachsConjecture returns two prime numbers whose sum
is equal to the given number.
If even param is less than 4 or an odd number, nil is returned.
Sieve of prime numbers up to n.
Runs in O(N log log N)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.