![]() |
|
|
#2 | |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
Quote:
|
|
|
|
|
|
|
#3 |
|
"Dana Jacobsen"
Feb 2011
Bangkok, TH
90810 Posts |
MathWorld is, not surprisingly, not quite right. They mean to say consecutive primes, as "consecutive numbers" is obviously wrong.
The OEIS Wiki has a better page than Mathworld: https://oeis.org/wiki/Prime_constellations It separates the idea of a cluster from a constellation. Matt's page starts by talking about the standard triplets but then notes we can also find 3-clusters. These are not consecutive primes. Code:
# replace ... by your list of a,b,... for p,p+a,p+b,... # perl -Mntheory=:all -E 'say for sieve_prime_cluster(<from>,<to>, ...); # e.g. one of Matt's clusters:' perl -Mntheory=:all -E 'say for sieve_prime_cluster(0,1000,102,246);' # or this random meaningless one: perl -Mntheory=:all -E 'say for sieve_prime_cluster(0,1e6, 102,246,384,512,770,896);' |
|
|
|
|
|
#4 |
|
"Matthew Anderson"
Dec 2010
Oregon, USA
32016 Posts |
Hi all,
Thanks for the good post Dana. I appreciate it. Regards, Matt |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Covering sets for a^n-1 | carpetpool | Abstract Algebra & Algebraic Number Theory | 1 | 2017-12-28 12:48 |
| reduce to 108119486 relation sets and 0 unique ideals | Alfred | Msieve | 2 | 2017-04-02 07:01 |
| Polynomial Coefficients Integer Sets | carpetpool | carpetpool | 1 | 2017-02-22 08:37 |
| Covering sets | robert44444uk | Computer Science & Computational Number Theory | 15 | 2017-01-04 12:39 |
| Julia Sets | mfgoode | Miscellaneous Math | 2 | 2006-04-04 00:18 |