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-1 of 1 results.

A064735 Next prime containing prime(n) in decimal notation.

Original entry on oeis.org

23, 13, 53, 17, 113, 113, 173, 191, 223, 229, 131, 137, 241, 431, 347, 353, 359, 461, 167, 271, 173, 179, 283, 389, 197, 1013, 1031, 5107, 1091, 2113, 1277, 1319, 1373, 1399, 1493, 1151, 1571, 1163, 3167, 1733, 2179, 1181, 1913, 1193, 1973, 1993, 2111
Offset: 1

Views

Author

Reinhard Zumkeller, Oct 17 2001

Keywords

Crossrefs

Programs

  • PARI
    a(n)={ my(q=prime(n), m=10^(logint(q,10)+1)); forprime(p=m, oo, my(x=p); while(x>=q, if(x%m==q, return(p)); x\=10)) } \\ Harry J. Smith, Sep 24 2009

Formula

a(n) = A252629(n) + prime(n). - Zak Seidov, Dec 19 2014
Showing 1-1 of 1 results.