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.

A210734 Primes p such that p + 1 or p - 1 is a concatenation of successive even numbers starting from 2.

Original entry on oeis.org

3, 23, 2467, 246809, 246811, 24681012141619, 24681012141618202224262830323436384041, 24681012141618202224262830323436384042444649
Offset: 1

Views

Author

Arkadiusz Wesolowski, May 10 2012

Keywords

Comments

a(9) has 625 digits, a(10) has 1476 digits, a(11) has 5048 digits, a(12) has 39024 digits.

Crossrefs

Cf. A019520.

Programs

  • Mathematica
    lst = {}; c = 0; Do[c = c*10^IntegerLength[n] + n; a = c - 1; If[PrimeQ[a], AppendTo[lst, a]]; b = c + 1; If[PrimeQ[b], AppendTo[lst, b]], {n, 2, 48, 2}]; lst