Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #7 Oct 17 2015 16:45:19
%S 0,5,1619,22861,5608661,123097943,2103004511,411605194237,
%T 29681120620523,8356197277826743,141511180168198879,
%U 23016765965614427641,30251327028834944270131,371385619022538141977254297,124784413675757116661951994259
%N Base-10 representation of 0 and the primes at A262627.
%H Clark Kimberling, <a href="/A262628/b262628.txt">Table of n, a(n) for n = 1..300</a>
%e n A262627(n) base-10 representation
%e 1 0 0
%e 2 101 5
%e 3 11001010011 1619
%t s = {0}; base = 2; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
%t AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s (* A262627 *)
%t Map[FromDigits[ToString[#], base] &, s] (* A262628 *)
%t (* _Peter J. C. Moses_, Sep 01 2015 *)
%Y Cf. A262627. Subsequence of A016041 (except a(1)).
%K nonn,base
%O 1,2
%A _Clark Kimberling_, Oct 02 2015