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.

User: Mario Ziller

Mario Ziller's wiki page.

Mario Ziller has authored 3 sequences.

A288815 Paired Jacobsthal function applied to the product of the first n primes.

Original entry on oeis.org

2, 6, 18, 30, 66, 150, 192, 258, 366, 450, 570, 708, 894, 1044, 1284, 1422, 1656, 1902, 2190, 2460, 2622
Offset: 1

Author

Mario Ziller, Jun 17 2017

Keywords

Comments

There is a conjecture about an upper bound on this sequence. Let p_n be the n-th prime. If a(n) < p_n^2 - p_n holds for n>=3 then Goldbach's conjecture and the twin prime conjecture hold as well.

Crossrefs

Formula

a(n) = 6*A072753(n) + 6, for n>=3.

A072753 Maximum gap in two-stage prime-sieves.

Original entry on oeis.org

2, 4, 10, 24, 31, 42, 60, 74, 94, 117, 148, 173, 213, 236, 275, 316, 364, 409, 436
Offset: 3

Author

Mario Ziller, Jul 10 2002

Keywords

Comments

From John F. Morack, Dec 20 2012: (Start)
There is a relationship between this sequence and Goldbach's Conjecture.
If you consider that you are "sieving" from the even number down and from 1 up, then if the even number is a power of 2 this is exactly a two-stage sieve, but you must include the 3, so each term is multiplied by 3. For other even numbers, all two-stage sieves including 3 will over-exclude numbers, so if anything is left after the sieve, it must be prime, excluding the number 1.
Consider the following: Let p be the largest prime < sqrt(2N), further let p be the m-th prime. Let's deal with the m-th term in the sequence a(m). If a(m)*3 < (N - 2) for all N > K for some constant K, there is a set of two primes that sum to 2N. (End)
From Giovanni Resta, Aug 06 2015: (Start)
a(n) is the maximal value m such that there exist n-2 pairs 0 <= a_i, b_i < prime(i) for each 3 <= i <= n, such that each number between 1 and m is either a_i or b_i mod prime(i). The condition a(k) >= m can be verified by solving an integer linear programming problem with binary variables x_i_j, where i ranges between 3 and k and j ranges between 0 and prime(k)-1, and x_i_j = 1 if a_i = j or b_i = j.
For a(11) = 148 the pairs are 5 (1,3) 7 (4,5) 11 (2,4) 13 (9,10) 17 (1,12) 19 (1,15) 23 (4,7) 29 (7,26) 31 (11,14) 37 (17,21) 41 (3,23).
For a(12) = 173 they are 5 (1,3) 7 (1,2) 11 (5,7) 13 (2,4) 17 (1,8) 19 (7,14) 23 (1,20) 29 (10,19) 31 (1,12) 37 (13,18) 41 (29,34) 43 (1,36).
For a(13) = 213 they are 5 (1,3), 7 (1,2), 11 (7,9) 13 (1,11) 17 (2,9) 19 (4,14) 23 (3,9) 29 (16,25) 31 (4,5) 37 (10,34) 41 (17,28) 43 (36,39) 47 (12,14).
For a(14) = 236 they are 5 (1,3) 7 (3,5) 11 (4,5) 13 (4,9) 17 (5,14) 19 (7,10) 23 (11,17) 29 (3,26) 31 (3,19) 37 (5,25) 41 (2,31) 43 (1,34) 47 (3,41) 53 (20,32). (End)
a(17) and a(18) were calculated using Giovanni Resta's ILP approach with models generated from all combinations of primes to 17. We are looking for a GPU approach. GLPK was used to process the auto-generated models. - John F. Morack is solely responsible for the computation work. - John F. Morack, Jan 03 2016
a(19) verification computation was completed Jan 08 2016. An interesting point about the term 355 is that it was found through trial and error using sole prime placement counts, and only after finding it as a candidate was it verified using exhaustive computation. The computation again used all combinations of the primes to 17 and the rejection of all first-occurring sole prime placements of the prime 5 using Giovanni Resta's ILP approach with all binary variables. - John F. Morack, Jan 08 2016

Examples

			a(5) = 10 because c(3)=2, d(3)=4, c(4)=1, d(4)=3, c(5)=4, d(5)=6 satisfy the requirements: 1 == 1 (mod 7), 2 == 2 (mod 5), 3 == 3 (mod 7), 4 == 4 (mod 5), 5 == 5 (mod 11), 6 == 6 (mod 11), 7 == 2 (mod 5), 8 == 1 (mod 7), 9 == 4 (mod 5), 10 == 3 (mod 7).
		

Crossrefs

Formula

Let p(n) be the sequence of primes, i.e., p(1)=2. For n>=3 we define a(n) = max { m IN N | EXIST c(k), d(k) IN N, k=3, .., n : FOR ALL i IN {1, .., m} EXISTS j IN {3, .., n} : i == c(j) (mod p(j)) OR i == d(j) (mod p(j)) }
a(n) = (A288815(n) - 6)/6. - Mario Ziller, Jun 19 2017

Extensions

a(11) from Mario Ziller, May 30 2005
a(12) from Mario Ziller, Jun 20 2013
a(13) from Mario Ziller, Sep 26 2014
a(14)-a(15) from Mario Ziller, Aug 06 2015
a(16) from Giovanni Resta, Aug 06 2015
a(17)-a(18) from John F. Morack Jan 03 2016
a(19) from John F. Morack Jan 08 2016
a(19) corrected and a(20)-a(21) added by Mario Ziller, Jun 17 2017

A072752 Maximum gap in one-stage prime-sieves.

Original entry on oeis.org

1, 2, 4, 6, 10, 12, 16, 19, 22, 28, 32, 36, 44, 49, 52, 58, 65, 75, 86, 94, 99, 107, 116, 128, 131, 140, 149, 155, 164, 176, 188, 193, 206, 215, 224, 237, 245, 254, 268, 274, 286, 299, 307, 320, 329, 342, 358, 370, 380, 398, 404, 416, 428, 437, 453, 462, 476, 488, 500, 514, 528, 548, 554
Offset: 2

Author

Mario Ziller, Jul 10 2002

Keywords

Examples

			a(5) = 6 because c(2)=2, c(3)=1, c(4)=4, c(5)=3 satisfy the requirements: 1 == 1 (mod 5), 2 == 2 (mod 3), 3 == 3 (mod 11), 4 == 4 (mod 7), 5 == 2 (mod 3), 6 == 1 (mod 5).
		

Crossrefs

Formula

For n>=2 we define a(n) = max { m IN N | EXIST c(k) IN N, k=2, .., n : FOR ALL i IN {1, .., m} EXISTS j IN {2, .., n} : i == c(j) (mod prime(j)) }.
a(n) = (A048670(n)-2)/2. - John F. Morack, Jan 24 2016
a(n) = (A058989(n) - 1)/2. - Mario Ziller, Dec 08 2016

Extensions

a(15)-a(16) from Mario Ziller, May 30 2005
a(17) from John F. Morack, Nov 13 2012
a(18) from John F. Morack, Dec 11 2012
a(19) from Mario Ziller, Apr 08 2014
a(20)-a(21) from John F. Morack, Nov 21 2014
a(22) from John F. Morack, Dec 01 2014
a(23) from John F. Morack, Dec 05 2014
a(24) from John F. Morack, Dec 14 2014
a(25) from John F. Morack, Dec 30 2014
a(26)-a(36) from Mario Ziller and John F. Morack, May 20 2015
a(37)-a(49) from John F. Morack taken from [Hagedorn], Jan 24 2016
a(46) corrected and a(50)-a(54) added by Mario Ziller, Dec 08 2016
a(55)-a(64) from A048670 by Constantino Calancha, Aug 05 2023