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.

A034594 Concatenation of nextprime(a(n)) and a(n) is a prime.

Original entry on oeis.org

3, 27, 33, 39, 47, 51, 53, 61, 63, 91, 111, 123, 129, 131, 143, 173, 189, 199, 211, 217, 219, 231, 233, 237, 257, 273, 279, 301, 319, 341, 353, 357, 417, 423, 429, 473, 481, 489, 493, 501, 519, 523, 529, 531, 537, 551, 561, 573, 579, 587, 597, 607, 609, 619
Offset: 1

Views

Author

Patrick De Geest, Oct 15 1998

Keywords

Examples

			a(n)=27 -> nextprime(a(n)) is 29 so '2927' is a prime.
		

Crossrefs

Programs

  • PARI
    isok(n)=isprime(fromdigits(concat(digits(nextprime(n+1)), digits(n)))) \\ Andrew Howroyd, Aug 13 2024

Extensions

Offset changed by Andrew Howroyd, Aug 13 2024