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

A228452 Smallest prime k such that k*2^n-1 , k*2^n-1+2*j , k*2^n-1+4*j or k*2^n-1-2*j , k*2^n-1 , k*2^n-1+2*j are consecutive primes in arithmetic progression for some j.

Original entry on oeis.org

3, 53, 19, 3, 19, 593, 313, 113, 1699, 1163, 31, 4217, 31, 47, 7993, 1013, 631, 347, 3793, 3923, 397, 353, 2551, 83, 2719, 971, 3709, 6827, 6361, 593, 2053, 16073, 2719, 2753, 4441, 8663, 31, 131, 61, 5867, 379, 587, 9631, 1907, 8581, 23, 15739, 4049, 2281
Offset: 1

Views

Author

Pierre CAMI, Oct 27 2013

Keywords

Examples

			53*2^2-1-12=199, 53*2^2-1=211 and 53*2^2-1+12=223, so a(2)=53.
19*2^3-1=151, 19*2^3-1+6=157 and 19*2^3-1+12=163, so a(3)=19.
		

Crossrefs

Cf. A227888.

A230699 Sequence of pairs k,g such that k*2^n-1, k*2^n-1+g, k*2^n-1+2*g, and k*2^n+3*g are four consecutive primes in arithmetic progression for the smallest odd k.

Original entry on oeis.org

135, -6, 63, 6, 415, -6, 987, 6, 55, -6, 273, 6, 1195, -6, 299, 18, 1371, 6, 5, -6, 189, 6, 1077, 6, 7111, 6, 15, -6, 2821, -18, 15465, 24, 1081, 6, 11475, -6, 17155, -6, 3393, 12, 9751, 6, 16523, -24, 165, -6, 7395, -6, 8695, -6, 20325, -6, 7153, 18, 2235, -6
Offset: 1

Views

Author

Pierre CAMI, Oct 30 2013

Keywords

Comments

The number g may be negative.
g is always 0 mod 6 so a multiple of 6.

Examples

			135*2^1-1=269, 135*2^1-1-6=263, 135*2^1-1-2*6=257, 135*2^1-1-3*6=251
269, 263, 257, 251 are four consecutive primes in arithmetic progression so a(1)=135, a(2)=-6.
63*2^2-1=251, 63*2^2-1+6=257, 63*2^2-1+2*6=263, 63*2^2-1-3*6=269
251, 257, 263, 269 are four consecutive primes in arithmetic progression so a(3)=63 a(4)=6.
		

Crossrefs

Showing 1-2 of 2 results.