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.

Showing 1-3 of 3 results.

A279040 Even numbers 2k such that the smallest prime p satisfying p+q=2k (q prime) is greater than or equal to sqrt(k).

Original entry on oeis.org

4, 6, 8, 10, 12, 14, 16, 18, 24, 28, 30, 36, 38, 42, 48, 54, 60, 68, 80, 90, 96, 98, 122, 124, 126, 128, 148, 150, 190, 192, 208, 210, 212, 220, 222, 224, 302, 306, 308, 326, 330, 332, 346, 368, 398, 418, 458, 488, 518, 538, 540, 542, 556, 640, 692, 710, 796, 854, 908, 962, 968, 992, 1006
Offset: 1

Views

Author

Corinna Regina Böger, Dec 04 2016

Keywords

Comments

a(n) is an extension of A244408.
It is conjectured that a(230) = 503222 is the last term. Oliveira e Silva's work shows that there are no more terms below 4*10^18.
The sequence definition is equivalent to: "Even integers k such that there exists a prime p with p = min{q: q prime and (k - q) prime} and k < 2*p^2" and therefore this is a member of the EGN- family (Cf. A307782). - Corinna Regina Böger, May 01 2019

Examples

			The smallest prime for 42 is 5 with 5 > sqrt(21), but not smaller than sqrt(42), and therefore 42 does not belong to A244408. The smallest prime for 38 is 7, and 7 >= sqrt(38), and therefore 38 also belongs to A244408.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[4, 1006, 2], Function[n, Select[#, PrimeQ@ Last@ # &][[1, 1]] >= Sqrt[n/2] &@ Map[{#, n - #} &, Prime@ Range@ PrimePi@ n]]] (* Michael De Vlieger, Dec 06 2016 *)
  • PARI
    isok(n) = forprime(p=2, n, if (isprime(n-p), if (p >= sqrt(n/2), return(1), return(0))));
    lista(nn) = forstep(n=2, nn, 2, if (isok(n), print1(n, ", "))) \\ Michel Marcus, Dec 04 2016

A093161 Even integers k such that there exists a prime p with p = min{q: q prime and (k - q) prime} and (k - p) < p^3.

Original entry on oeis.org

4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 36, 38, 42, 48, 52, 54, 58, 60, 66, 68, 72, 78, 80, 84, 88, 90, 94, 96, 98, 102, 108, 114, 118, 120, 122, 124, 126, 128, 138, 146, 148, 150, 158, 164, 174, 180, 188, 190, 192, 206, 208, 210, 212, 218, 220, 222, 224
Offset: 1

Views

Author

Jason Earls, May 10 2004

Keywords

Comments

It is conjectured that the sequence is finite with last term a(104820) = 5714500178 and it is proven that there are no more terms below 4*10^18. This is an extension of A307542. - Corinna Regina Böger, Apr 14 2019

Examples

			63274 is in the sequence because 63274 = 293 + 62981 is the Goldbach partition with the smallest prime and 293^3 = 25153757 is > 62981. [clarified by _Corinna Regina Böger_, Apr 22 2019]
		

Crossrefs

Cf. A025018.

Programs

  • Maple
    isS := proc(n) local p; for p from 2 while p^3 < (n-p) do
    if isprime(p) and isprime(n-p) then return false fi od; true end:
    isa := n -> irem(n,2) = 0 and isS(n): select(isa, [$4..224]); # Peter Luschny, Apr 26 2019
  • Mathematica
    okQ[n_] := Module[{p}, For[p = 2, p <= n/2, p = NextPrime[p], If[p^3 + p < n && PrimeQ[n - p], Return[False]]]; True];
    Select[Range[4, 250, 2], okQ] (* Jean-François Alcover, Jun 11 2019, from PARI *)
  • PARI
    noSpecialGoldbach(n) = forprime(p=2, n/2, if(p^3+p2 && n%2 == 0 && noSpecialGoldbach(n) \\ Corinna Regina Böger, Apr 14 2019

Extensions

New name by Corinna Regina Böger, Apr 27 2019

A307782 Even integers k such that there exists a prime p with p=min{q: q prime and (k-q) prime} and k < p^3.

Original entry on oeis.org

4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 36, 38, 42, 48, 52, 54, 58, 60, 66, 68, 72, 78, 80, 84, 88, 90, 94, 96, 98, 102, 108, 114, 118, 120, 122, 124, 126, 128, 138, 146, 148, 150, 158, 164, 174, 180, 188, 190, 192, 206, 208, 210, 212, 218, 220, 222, 224, 240, 248, 250, 252, 258, 264, 270, 278, 290, 292, 294, 300, 302, 304, 306, 308, 324, 326, 328, 330, 332, 338, 346
Offset: 1

Views

Author

Corinna Regina Böger, Apr 28 2019

Keywords

Comments

[Please keep the larger data section as it shows where the sequence first differs from A093161.]
This is another member of a family of sequences concerning the Strong Goldbach Conjecture, which I define as follows: Let (x, y, z) be real numbers with x >= 2, y > 0, z >= 0. An even integer k is then called an (x, y, z) Extraordinary Goldbach Number (EGN) if there exists a prime p with p=min{q: q prime and (k-q) prime} and (k - z*p) < y*p^x. a(n) represents the (3, 1, 0) extraordinary Goldbach numbers. A093161 consists of (3, 1, 1) EGN, A307542 are the (2, 1, 1) EGN, A279040 are the (2, 2, 0) EGN and A244408 are the (2, 1, 0).
a(104809) is very probably the last term and there are no more terms below 4*10^18.
There are only 11 terms in A093161 that are not in this sequence; these are 344, 1338, 12184, 12186, 24400, 148912, 1030342, 2571406, 3308008, 5929868, 15813352.

Examples

			344 is not in the sequence, because the smallest prime p for 344 is 7 with 7^3 = 343 < 344, whereas it is in A093161 due to 344 - 7 = 337 < 7^3.
		

Crossrefs

Programs

  • PARI
    extraordinaryGoldbach(x,y,z,k) = forprime(p=2, k/2, if(isprime(k-p), if(y*p^x+z*p>=k, return(1),return(0)))); 0
    is(n) = n%2 == 0 && extraordinaryGoldbach(3, 1, 0, n)
Showing 1-3 of 3 results.