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.

A049496 a(n) and a(n)+4^k are primes at least for k=1,2,3,4,5,6.

Original entry on oeis.org

37, 163, 15667, 53593, 142543, 305407, 607093, 671353, 904663, 1172803, 1233523, 1351837, 1378843, 1389217, 1457857, 1686133, 1842523, 1867783, 2451793, 2668213, 2694157, 2979043, 3095227, 4228723, 4890307, 5535853, 5772097, 5859613, 6404773, 6827503, 6933067
Offset: 1

Views

Author

Keywords

Examples

			37, 37+4=41, 37+16=53, 37+64=101, 37+256=293, 37+1024=1061, 37+4096=4133 are all primes; the smallest such a 7-chain is {37,41,53,101,293,1061,4133}.
		

Crossrefs

Programs

  • PARI
    isok(n) = isprime(n) && isprime(n+4) && isprime(n+16) && isprime(n+64) && isprime(n+256) && isprime(n+1024) && isprime(n+4096); \\ Michel Marcus, Dec 22 2013

Formula

A023200 INTERSECT A269259. - R. J. Mathar, Mar 26 2024

Extensions

More terms from Michel Marcus, Dec 22 2013

A049498 a(n) and a(n)+4^k are primes at least for k=1,2,3,4,5,6,7,8.

Original entry on oeis.org

163, 15667, 607093, 671353, 1457857, 5772097, 9139453, 11170933, 13243063, 18116473, 19433863, 21960577, 32380177, 52896517, 115831753, 154146133, 165609217, 191489677, 361241743, 394845313, 518774953, 613615423, 705676717, 742403797, 786242293, 945170293
Offset: 1

Views

Author

Keywords

Examples

			163, 163+4 = 167, 163+16 = 179, 163+64 = 227, 163+256 = 419, 163+1024 = 1187, 163+4096 = 4259, 163+16384 = 16547, 163+65536 = 65699 are all primes; the smallest such a 9-chain of primes is {163, 167, 178, 227, 419, 1187, 4259, 16547, 65699}
		

Crossrefs

Programs

  • Mathematica
      With[{c=4^Range[8]},Select[Prime[Range[500000]],And@@PrimeQ[#+c]&]] (* Harvey P. Dale, May 22 2012 *)

Extensions

More terms from Michel Marcus, Dec 22 2013
Showing 1-2 of 2 results.