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.

A034591 Numbers whose concatenation with the next prime yields a prime.

Original entry on oeis.org

0, 2, 6, 8, 9, 12, 27, 31, 36, 42, 44, 45, 51, 56, 63, 68, 69, 78, 83, 86, 93, 94, 96, 98, 102, 104, 105, 108, 115, 117, 118, 123, 126, 132, 138, 150, 151, 154, 156, 157, 160, 167, 176, 180, 183, 186, 192, 194, 195, 199, 201, 205, 213, 217, 219, 225, 230, 233
Offset: 1

Views

Author

Patrick De Geest, Oct 15 1998

Keywords

Examples

			8 is a term because nextprime(8) = 11 and 811 is prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[0,250],PrimeQ@FromDigits@Flatten[IntegerDigits/@{#,NextPrime@#}]&] (* Giorgos Kalogeropoulos, Jul 30 2021 *)
  • PARI
    isok(m) = isprime(eval(Str(m, nextprime(m+1)))); \\ Michel Marcus, Oct 03 2014 and Jul 30 2021

A036339 Concatenation of prime p and nextprime(p) is prime -> cycles of 2 steps possible.

Original entry on oeis.org

467, 941, 13681, 14461, 21787, 22171, 22369, 24049, 24151, 25457, 29333, 37397, 41221, 42467, 43481, 46511, 48023, 54133, 56681, 68699, 75883, 85081, 101341, 103511, 117443, 120193, 126199, 137363, 144323, 145133, 158791, 175853, 181891, 183797
Offset: 1

Views

Author

Patrick De Geest, Dec 15 1998

Keywords

Crossrefs

Extensions

Offset corrected and missing 181891 inserted by Sean A. Irvine, Oct 26 2020
Showing 1-2 of 2 results.