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.

A220697 Least prime in a string of exactly n consecutive primes all differing by semiprimes.

Original entry on oeis.org

2, 7, 19, 43, 109, 151, 2341, 937, 9343, 25633, 62467, 125659, 634223, 696481, 36787867, 160729363, 186611561, 2687549003, 35217744131, 3961140077, 52556322253, 114326649397, 348705174313, 15234953708851, 163229981102789, 87255058923913
Offset: 1

Views

Author

Keywords

Comments

a(27) > 6*10^14. - Giovanni Resta, Jun 14 2013

Examples

			The fifth entry is 109 because it is the least prime to begin a string of primes 109, 113, 127, 131, 137 having four semiprimes as differences between the consecutive primes: the consecutive semiprime differences are 4, 14, 4, 6.
		

Crossrefs

Programs

  • PARI
    issemi(n)=bigomega(n)==2
    back(p,n)=for(i=1,n, p=precprime(p-1)); p
    r=t=1; v=vector(100); v[1]=p=2; forprime(q=3,1e11, if(issemi(q-p), t++, if(t>=r && v[t]==0, v[t]=back(p,t-1); print(t" "v[t]); while(v[r], r++)); t=1); p=q) \\ Charles R Greathouse IV, Mar 01 2018

Extensions

a(16)-a(23) from Donovan Johnson, Apr 28 2013
a(24)-a(26) from Giovanni Resta, Jun 14 2013

A226769 Least prime in a string of exactly n consecutive primes all differing by triangular numbers.

Original entry on oeis.org

3, 2, 47, 1171, 241, 5101, 927001, 94415941, 662592253, 310005271, 148073185207, 52913532613, 3074003451811
Offset: 1

Views

Author

Giovanni Resta, Jun 17 2013

Keywords

Comments

a(14) > 10^14.

Examples

			The 12 gaps following a(13) = 3074003451811 are 6, 6, 6, 78, 6, 6, 78, 36, 28, 66, 6, 6, and 6=T(3), 78=T(12), 36=T(8), 28=T(7) and 66=T(11).
		

Crossrefs

A226840 Least prime in a string of exactly n consecutive primes all differing by a square.

Original entry on oeis.org

3, 2, 9547, 255763, 9148351, 189637381, 78793186597, 1312901933341
Offset: 1

Views

Author

Giovanni Resta, Jun 19 2013

Keywords

Comments

a(9) > 10^14.

Examples

			The 7 gaps following a(8) = 1312901933341 are the squares 36, 144, 36, 36, 4, 36, 36.
		

Crossrefs

Showing 1-3 of 3 results.