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.

A238499 Primes which are the concatenation of two primes in exactly three ways.

Original entry on oeis.org

3137, 3797, 13997, 19937, 19997, 23911, 23929, 29173, 29311, 31193, 37337, 37397, 43397, 59929, 73331, 78737, 79337, 103997, 109397, 127997, 139967, 173347, 173359, 193337, 193373, 193877, 199337, 199373, 199967, 229373, 233113, 233329, 233353, 233617
Offset: 1

Views

Author

Colin Barker, Feb 27 2014

Keywords

Examples

			13997 is in the sequence because (13, 997), (139, 97), (1399, 7) are all primes, so there are three ways.
		

Crossrefs

Programs

  • Mathematica
    spl[n_] := Block[{d = IntegerDigits@n, c = 0, z}, z = Length@d; Do[If[PrimeQ@ FromDigits@ Take[d, k] && d[[k + 1]] > 0 && PrimeQ@ FromDigits@ Take[d, k - z], c++], {k, z - 1}]; c]; Select[ Prime@ Range@ 20000, spl[#] == 3 &] (* Giovanni Resta, Mar 03 2014 *)

Extensions

Example clarified by Harvey P. Dale, Jun 09 2025