cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A109875 Chen primes p such that their p + 2 counterpart is a golden semiprime.

Original entry on oeis.org

13, 587, 1361, 15227, 118967, 337721, 383267, 512891, 1027331, 1780151, 2303681, 8200391, 9310517, 14666579, 25005089, 29105981, 34824971, 38895497, 40436909, 51819461, 63462977, 65427749, 65599199, 66043091, 75552479, 94671671
Offset: 1

Views

Author

Jason Earls, Aug 31 2005

Keywords

Comments

Conjecture: sequence is infinite.

Examples

			1361 is a term because it is prime and 1363 = 29*47 and abs(29*phi - 47) = 0.07701... < 1.
		

Crossrefs

Programs

  • Mathematica
    f[p_] := Module[{x = GoldenRatio * p}, p1 = NextPrime[x, -1]; p2 = NextPrime[p1]; q = If[x - p1 < p2 - x, p1, p2]; If[Abs[q - x] < 1, q, 0]]; seq = {}; p = 1; Do[p = NextPrime[p]; q = f[p]; If[q > 0 && PrimeQ[p*q - 2], AppendTo[seq, p*q - 2]], {1000}]; seq (* Amiram Eldar, Nov 29 2019 *)

Extensions

a(15)-a(26) from Donovan Johnson, Nov 17 2008