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-8 of 8 results.

A156284 From every interval (2^(m-1), 2^m), m >= 3, we remove primes p for which 2^m-p is a prime that was not removed for smaller values of m; the sequence gives all remaining odd primes.

Original entry on oeis.org

3, 7, 11, 17, 19, 23, 31, 37, 43, 59, 67, 71, 73, 79, 83, 89, 101, 103, 107, 113, 127, 131, 137, 139, 151, 157, 163, 179, 181, 191, 193, 199, 211, 223, 227, 229, 241, 251, 257, 263, 269
Offset: 1

Views

Author

Vladimir Shevelev, Feb 07 2009

Keywords

Comments

Powers of 2 are not expressible as sums of two primes from this sequence. This is attained by a more economical algorithm than that for construction of A152451. If A(x) is the counting function for the terms a(n) <= x, then A(x) = pi(x) - O(x/(log^2(x)). It is known that the approximation of pi(x) by x/log(x) gives the remainder term as, at best, O(x/log^2(x)). Therefore beginning our process from m >= M (with arbitrarily large M), we obtain a sequence which essentially is indistinguishable from the sequence of all odd primes with the help of the approximation of pi(x) by x/log(x). Hence it is in principle impossible to prove the binary Goldbach conjecture by such an approximation of pi(x).

Crossrefs

A241922 Smallest k^2>=0 such that n-k^2 is semiprime, or a(n)=2 if there is no such k^2.

Original entry on oeis.org

2, 2, 2, 0, 1, 0, 1, 4, 0, 0, 1, 2, 4, 0, 0, 1, 2, 4, 4, 16, 0, 0, 1, 9, 0, 0, 1, 2, 4, 4, 9, 2, 0, 0, 0, 1, 4, 0, 0, 1, 16, 4, 4, 9, 36, 0, 1, 9, 0, 1, 0, 1, 4, 16, 0, 1, 0, 0, 1, 9, 4, 0, 1, 9, 0, 1, 9, 64, 0, 1, 9, 2, 4, 0, 1, 25, 0, 1, 64, 25, 4, 0, 1, 49, 0, 0, 0, 1, 4, 4, 0, 1, 0, 0, 0, 1, 4, 4, 4, 9, 16
Offset: 1

Views

Author

Vladimir Shevelev, May 01 2014

Keywords

Comments

If n = m^2, m>=2, then the condition {a(n) differs from 2} is equivalent to the Goldbach binary conjecture. Indeed, if m^2 - k^2 is semiprime, then (m-k)*(m+k) = p*q, where p<=q are primes. Here we consider two possible cases. 1) m-k=1, m+k=p*q and 2) m-k=p, m+k=q. But in the first case k=m-1>m-p, i.e., more than k in the second case. In view of the minimality k, we only have to consider case 2). In this case we have m-/+k both are primes p<=q (with equality in case k=0) and thus 2*m = p + q. Conversely, let the Goldbach conjecture be true. Then for a perfect square n>=4, we have 2*sqrt(n)=p+q (p<=q are both primes). Thus n=((p+q)/2)^2 and n-((p-q)/2)^2=p*q is semiprime. Hence a(n) is a square not exceeding ((p-q)/2)^2.
Note that a(n)=2 for 1,2,3,12,17,28,32,72,...
All these numbers are in A100570. Thus the Goldbach binary conjecture is true if and only if A100570 does not contain perfect squares.
The largest term found in the first 2^28 terms is a(106956964) = 369^2 = 136161. This further encourages one to believe that Goldbach's binary conjecture holds true. - Daniel Mikhail, Nov 23 2020

Crossrefs

Programs

  • PARI
    a(n) = {my(lim = if (issquare(n), sqrtint(n)-1, sqrtint(n))); for (k=0, lim, if (bigomega(n-k^2) == 2, return (k^2));); return (2);} \\ Michel Marcus, Nov 26 2020

Formula

a(A001358(n)) = 0.

A241927 Smallest k^2>=1 such that n-k^2 is semiprime p*q in Fermi-Dirac arithmetic (A176525) with additional requirement that, if n is a square, then p and q are of the same parity; or a(n)=2 if there is no such k^2.

Original entry on oeis.org

2, 2, 2, 2, 2, 2, 1, 2, 1, 4, 1, 4, 1, 4, 1, 1, 9, 4, 1, 2, 1, 1, 1, 4, 4, 4, 1, 1, 1, 4, 4, 4, 1, 1, 1, 1, 1, 4, 1, 1, 9, 4, 4, 9, 1, 1, 1, 4, 4, 4, 1, 1, 1, 4, 4, 1, 9, 1, 1, 9, 4, 4, 1, 1, 1, 1, 4, 4, 1, 1, 9, 4, 4, 9, 1, 1, 1, 1, 4, 4, 4, 25, 1, 4, 9, 1, 1, 1, 4, 4, 4, 1, 1, 1, 1, 1, 4, 4, 1, 1, 1, 4, 4, 4, 25
Offset: 1

Views

Author

Vladimir Shevelev, May 02 2014

Keywords

Comments

A semiprime in Fermi-Dirac arithmetic is a product of two distinct terms of A050376, or, equivalently, an infinitary semiprime. The conjecture that every even number>=4 is a sum of two A050376 terms is a weaker form of the Goldbach conjecture; as such, it is natural to refer to it as a Goldbach conjecture in Fermi-Dirac arithmetic (FDGC).
Let us prove that the condition {a(m^2) differs from 2} is equivalent to the FDGC.
Indeed, from the FDGC for a perfect square n>=4, we have 2*sqrt(n)=p+q (pA050376 terms of the same parity). Thus n=((p+q)/2)^2 and n-((p-q)/2)^2=p*q is Fermi-Dirac semiprime. Hence, a(n)>=1 is a square not exceeding ((p-q)/2)^2. Thus the condition {a(m^2) differs from 2} is necessary for the truth of the FDGC.
Let us prove that the condition {a(m^2) differs from 2} is also sufficient. Indeed, a(m^2)-k^2 = p*q, where, say, pA050376, and p,q are of the same parity. If p,q are primes, then the proof repeats one in A241922. Let, e.g., p=s^2A050376). Consider two principal cases: 1) m-k = s, m+k = s*q; 2) m-k = s^2, m+k = q. In 1) k=m-s, in 2) k=m-s^2. In view of the minimality of k, we should accept 2) and thus m-k=p, m+k=q. So, 2*m=p+q as the FDGC requires.
The sequence of numbers n for which a(n)=2 begins 1, 2, 3, 4, 5, 6, 8, 20, ... (A241947).

Examples

			a(17)=9, since 9 is the smallest square such that 17-9 = 8 = 2*4 is a Fermi-Dirac semiprime.
		

References

  • V. S. Shevelev, Multiplicative functions in the Fermi-Dirac arithmetic, Izvestia Vuzov of the North-Caucasus region, Nature sciences 4 (1996), 28-43 (in Russian; MR 2000f: 11097, pp. 3912-3913).

Crossrefs

A158852 a(n), a(n+1), a(n+2), for n=5,8,11,... are respectively the numbers of representations of the integers 2^k-2, 2^k, 2^k+2, where k=(n+4)/3, by unordered sums of two odd primes not belonging to A158759.

Original entry on oeis.org

1, 0, 0, 1, 0, 2, 2, 0, 1, 5, 0, 3, 5, 0, 7, 19, 0, 8, 10, 0, 21, 52, 0, 26, 43, 0, 66, 205, 0, 79, 92, 0, 217, 397, 0, 279, 444, 0, 683, 1651, 0, 625, 1009, 0, 2135, 4831, 0, 3063, 3682, 0, 6851
Offset: 8

Views

Author

Vladimir Shevelev, Mar 28 2009

Keywords

Crossrefs

A158853 a(n), a(n+1), a(n+2), for n=5,8,11,... are respectively the numbers of representations of the integers 2^k-2, 2^k, 2^k+2, where k=(n+4)/3, by unordered sums of two odd primes not belonging to A158846.

Original entry on oeis.org

2, 0, 3, 1, 0, 1, 5, 0, 3, 6, 0, 7, 18, 0, 8, 10, 0, 21, 50, 0, 26, 43, 0, 67, 204, 0, 79, 93, 0, 213, 398, 0, 279, 445, 0, 684, 1649, 0, 630, 1008, 0, 2135, 4890, 0, 3063, 3681, 0, 6852
Offset: 11

Views

Author

Vladimir Shevelev, Mar 28 2009

Keywords

Crossrefs

A158855 a(n), a(n+1), a(n+2), for n=5,8,11,... are respectively the numbers of representations of the integers 2^k-2, 2^k, 2^k+2, where k=(n+4)/3, by unordered sums of two odd primes not belonging to A158847.

Original entry on oeis.org

2, 0, 2, 5, 0, 4, 6, 0, 7, 18, 0, 8, 10, 0, 23, 51, 0, 25, 43, 0, 68, 206, 0, 79, 93, 0, 214, 397, 0, 280, 445, 0, 684, 1650, 0, 630, 1008, 0, 2136, 4894, 0, 3065, 3682, 0, 6853
Offset: 14

Views

Author

Vladimir Shevelev, Mar 28 2009

Keywords

Crossrefs

A158857 a(n), a(n+1), a(n+2), for n=5,8,11,... are respectively the numbers of representations of the integers 2^k-2, 2^k, 2^k+2, where k=(n+4)/3, by unordered sums of two odd primes not belonging to A158848.

Original entry on oeis.org

7, 0, 7, 7, 0, 8, 20, 0, 9, 10, 0, 23, 50, 0, 28, 42, 0, 69, 201, 0, 79, 93, 0, 216, 399, 0, 278, 445, 0, 684, 1649, 0, 630, 1008, 0, 2132, 4892, 0, 3066, 3681, 0, 6852
Offset: 17

Views

Author

Vladimir Shevelev, Mar 28 2009

Keywords

Crossrefs

A242247 Maximal k <= n^2 + 1 such that every Goldbach representation of 2*k = p+q contains at least one prime from the set {prime(1), prime(2), ..., prime(n)}, or a(n)=0 if there is no such k.

Original entry on oeis.org

2, 4, 8, 10, 14, 22, 22, 28, 32, 38, 46, 49, 49, 58, 58, 68, 74, 74, 82, 82, 87, 94, 94, 98, 112, 116, 121, 128, 136, 146, 146, 146, 155, 155, 164, 166, 184, 184, 184, 200, 206, 206, 221, 221, 224, 238, 244, 265, 265, 268, 268, 268, 286, 286, 286, 286, 344
Offset: 1

Views

Author

Vladimir Shevelev, May 09 2014

Keywords

Comments

The restriction a(n) <= n^2 + 1 allows one to make the sequence computable for n >= 1 and, at the same time, to somewhat agree with heuristic arguments for large n.
The sequence is based on a conjecture stronger than Goldbach's Conjecture: for arbitrarily large N there exists a number m(N) such that, for k > m(N), the number of unordered Goldbach representations (A002375) of 2*k is greater than N.
Heuristic arguments would imply that m(N) ~ N*log^2(2*N). Then, conjecturally, for n >= 3, a(n) < n*log^2(2*n).
The existence of a(n) for arbitrary n says that, if we remove from the sequence of primes an arbitrarily large number M of the first terms, the Goldbach representations remain for all sufficiently large even numbers.

Examples

			Let n=3. Then the set is {2,3,5}. The Goldbach representations of 2*k=16 are 3+13 and 5+11. Each of them contains a prime from {2,3,5}. So a(3) >= 8. Since, by definition, a(3) <= 10, consider also 2*k=18 and 20. We have 18=7+11, 20=7+13. These representations contain none of the primes 2,3,5. Therefore a(3)=8.
		

Crossrefs

Extensions

More terms from Peter J. C. Moses, May 10 2014
Showing 1-8 of 8 results.