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.

This page as a plain text file.
%I A164967 #59 Jun 26 2016 06:17:41
%S A164967 1,13,137,13711,1371113,137111329,13711132937,13711132937113,
%T A164967 13711132937113307,13711132937113307401,13711132937113307401463,
%U A164967 13711132937113307401463509,13711132937113307401463509541,13711132937113307401463509541701
%N A164967 Sequential primes built off of 1.
%C A164967 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.
%H A164967 Robert G. Wilson v, <a href="/A164967/b164967.txt">Table of n, a(n) for n = 1..100</a>
%t A164967 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 *)
%Y A164967 Cf. A074336.
%K A164967 nonn,base
%O A164967 1,2
%A A164967 _Rajesh Bhowmick_, Jan 14 2012
%E A164967 Edited and extended by _Robert G. Wilson v_, Jan 14 2012