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.

A224846 Smallest k such that (10^n+k, 10^n+k+2) and (10^(n+1)+k, 10^(n+1)+k+2) are two pairs of twin primes with k(n+1) > k(n).

Original entry on oeis.org

1, 49, 91, 1117, 2929, 3001, 4831, 37237, 43897, 54409, 55669, 81931, 89809, 194971, 271159, 556651, 628069, 639247, 1036447, 1615597, 2075407, 2086447, 2414077, 3331009, 3442789, 4088539, 4178311, 4330681, 5834869, 6846649, 7928047, 11222341, 15520927, 18575911, 18615787, 22426969, 22645189
Offset: 1

Views

Author

Pierre CAMI, Jul 22 2013

Keywords

Examples

			10^1+1=11 prime as 13 10^2+1=101 prime as 103 so a(1)=1.
		

Crossrefs

Cf. A124001 (10^n+k and 10^n+k+2 are prime).

Programs

  • Mathematica
    i = -1; Table[i = i + 2; While[! (PrimeQ[10^n + i] && PrimeQ[10^n + i + 2] && PrimeQ[10^(n + 1) + i] && PrimeQ[10^(n + 1) + i + 2]), i = i + 2]; i, {n, 10}] (* T. D. Noe, Jul 23 2013 *)