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.

A287244 Indices n for which concatenation of the numbers from n to n + 9 is prime.

Original entry on oeis.org

4, 20, 68, 88, 122, 140, 188, 200, 212, 220, 224, 244, 254, 374, 460, 490, 502, 518, 550, 568, 632, 688, 734, 814, 832, 884, 898, 908, 928, 982, 1022, 1108, 1472, 1490, 1498, 1514, 1544, 1580, 1894, 1954, 2074, 2230, 2294, 2384, 2492, 2524, 2722
Offset: 1

Views

Author

XU Pingya, May 22 2017

Keywords

Examples

			a(1) = 4, since 45678910111213 is prime.
		

Crossrefs

Cf. A030458.

Programs

  • Maple
    filter:= proc(n) isprime(parse(cat($n .. n+9))) end proc:
    select(filter, 2*[$1..10^4]); # Robert Israel, Jan 08 2024
  • Mathematica
    Position[Map[FromDigits@ Flatten@ IntegerDigits@ # &, Partition[Range@ 2800, 10, 1]], p_ /; PrimeQ@ p][[All, 1]] (* Michael De Vlieger, May 22 2017 *)