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.

A164967 Sequential primes built off of 1.

Original entry on oeis.org

1, 13, 137, 13711, 1371113, 137111329, 13711132937, 13711132937113, 13711132937113307, 13711132937113307401, 13711132937113307401463, 13711132937113307401463509, 13711132937113307401463509541, 13711132937113307401463509541701
Offset: 1

Views

Author

Rajesh Bhowmick, Jan 14 2012

Keywords

Comments

Begin with a 'seed' number, in this case a(1) = 1. Then a(n) is the concatenation of a(n-1) and some prime greater than any prime previously used to create a new prime number. Such a sequence is called a 'sequential prime' sequence.

Crossrefs

Cf. A074336.

Programs

  • Mathematica
    p = 3; f[n_] := Block[{}, While[q = n*10^Floor[1 + Log10[p]] + p; !PrimeQ[q], p = NextPrime[p]]; p = NextPrime[p]; q]; NestList[f, 1, 14] (* Robert G. Wilson v, Jan 14 2012 *)

Extensions

Edited and extended by Robert G. Wilson v, Jan 14 2012