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.

Showing 1-2 of 2 results.

A032619 Numbers k such that k concatenated with k+4 is a prime.

Original entry on oeis.org

3, 5, 17, 27, 35, 39, 45, 47, 63, 65, 83, 93, 99, 113, 123, 147, 149, 173, 185, 203, 209, 213, 219, 227, 239, 249, 255, 263, 267, 285, 287, 303, 309, 317, 327, 329, 333, 363, 365, 399, 413, 419, 423, 435, 447, 459, 465, 467, 473, 489, 497, 509, 515, 519
Offset: 1

Views

Author

Patrick De Geest, May 15 1998

Keywords

Crossrefs

Cf. A032609.

Programs

  • Maple
    filter:= n -> isprime(n*(10^(1+ilog10(n+4))+1)+4):
    select(filter, [seq(i,i=1..1000,2)]); # Robert Israel, Nov 14 2019
  • Mathematica
    prkk4Q[k_]:=With[{c=k+4},PrimeQ[k*10^IntegerLength[c]+c]]; Select[ Range[ 600],prkk4Q] (* Harvey P. Dale, Aug 31 2021 *)

A032627 Primes that are concatenations of n with n + 4.

Original entry on oeis.org

37, 59, 1721, 2731, 3539, 3943, 4549, 4751, 6367, 6569, 8387, 9397, 99103, 113117, 123127, 147151, 149153, 173177, 185189, 203207, 209213, 213217, 219223, 227231, 239243, 249253, 255259, 263267, 267271, 285289, 287291
Offset: 1

Views

Author

Patrick De Geest, May 15 1998

Keywords

Crossrefs

Extensions

Edited by Charles R Greathouse IV, Apr 28 2010
Showing 1-2 of 2 results.