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.

A253245 Primes that are the concatenation of prime(n) and prime(n+2).

Original entry on oeis.org

37, 1117, 1319, 1723, 4759, 89101, 97103, 101107, 113131, 151163, 181193, 223229, 227233, 239251, 251263, 293311, 313331, 337349, 389401, 421433, 461467, 491503, 587599, 631643, 647659, 683701, 691709, 701719, 739751, 761773, 809821
Offset: 1

Views

Author

Altug Alkan, Aug 22 2015

Keywords

Crossrefs

Programs

  • Mathematica
    Module[{nn=300,pr},pr={#[[1]],#[[3]]}&/@Partition[Prime[Range[nn]],3,1];Select[Table[FromDigits[Flatten[IntegerDigits/@pr[[n]]]],{n, Length[ pr]}],PrimeQ]] (* Harvey P. Dale, Nov 29 2015 *)
  • PARI
    for(n=1, 1e3, if(isprime(k=eval(Str(prime(n), prime(n+2)))), print1(k", ")))