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.

A346675 First differences of A088176.

Original entry on oeis.org

4, 6, 6, 14, 10, 20, 12, 28, 6, 36, 8, 34, 6, 14, 22, 18, 26, 16, 24, 36, 78, 8, 28, 74, 36, 30, 24, 16, 26, 148, 6, 12, 24, 24, 144, 8, 22, 8, 28, 66, 74, 46, 14, 10, 20, 106, 26, 28, 6, 120, 14, 66, 16, 24, 68, 76, 12, 60, 24, 30, 36, 48, 12, 30, 8, 16, 90, 30
Offset: 1

Views

Author

Luca Santarsiero, Jul 28 2021

Keywords

Comments

Conjecture: each term > 4 appears at least twice.
Every term of the sequence is even, because every term is a difference of two odd primes.

Examples

			a(7) = A088176(9) - A088176(8) = 107 - 79 = 28.
p = 14855077 and q = 14856077 are prime numbers such that the respective preceding prime number is the greater of twin primes. No other prime number between p and q has this property. Thus 1000 is a term of the sequence.
		

Crossrefs

Cf. A088176.

Programs

  • Mathematica
    Differences[NextPrime/@Select[Prime@Range[500],NextPrime[#,-1]==#-2&]] (* Giorgos Kalogeropoulos, Jul 28 2021 *)

Formula

a(n) = A088176(n+2) - A088176(n+1).

A088175 Primes such that the next two primes are a twin prime pair.

Original entry on oeis.org

2, 3, 7, 13, 23, 37, 53, 67, 97, 103, 131, 139, 173, 181, 193, 223, 233, 263, 277, 307, 337, 409, 421, 457, 509, 563, 593, 613, 631, 653, 797, 811, 823, 853, 877, 1013, 1021, 1039, 1051, 1087, 1129, 1223, 1259, 1283, 1297, 1307, 1423, 1447, 1471, 1483, 1601
Offset: 1

Views

Author

Zak Seidov, Sep 22 2003

Keywords

Comments

Primes p such that nextprime(p) + 2 is prime. - Irina Gerasimova, Jun 28 2013

Crossrefs

Cf. A088176.

Programs

Extensions

More terms from Ray Chandler, Sep 25 2003
Definition clarified by Irina Gerasimova, Jun 28 2013

A227031 Odd primes such that the previous prime is not the larger part of a twin prime pair.

Original entry on oeis.org

3, 5, 13, 19, 29, 31, 41, 43, 53, 59, 61, 71, 73, 83, 89, 97, 101, 103, 109, 127, 131, 137, 139, 151, 163, 167, 173, 179, 181, 193, 199, 223, 227, 229, 239, 241, 257, 263, 269, 271, 281, 283, 307, 311, 313, 331, 337, 347, 349, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421
Offset: 1

Views

Author

Irina Gerasimova, Jun 28 2013

Keywords

Comments

This is the complement of A088176 in the set of odd primes. - R. J. Mathar, Jul 04 2013

Examples

			a(1) = 3 because 3 is prime and prevprime(3) - 2 = 2 - 2 = 0 is not prime,
a(2) = 5 because 5 is prime and prevprime(5) - 2 = 3 - 2 = 1 is not prime,
a(3) = 13 because 13 is prime and prevprime(13) - 2 = 11 - 2 = 9 is composite.
		

Crossrefs

Programs

  • Mathematica
    Select[Prime[Range[2, 100]], Not[PrimeQ[NextPrime[#, -1] - 2]] &] (* Alonso del Arte, Jul 04 2013 *)
  • PARI
    is(n)=n>2 && !isprime(precprime(n-2)-2) && isprime(n) \\ Charles R Greathouse IV, Mar 18 2014

Formula

a(n) ~ prime(n) ~ n log n. - Charles R Greathouse IV, Jun 28 2013
Showing 1-3 of 3 results.