A262628 Base-10 representation of 0 and the primes at A262627.
0, 5, 1619, 22861, 5608661, 123097943, 2103004511, 411605194237, 29681120620523, 8356197277826743, 141511180168198879, 23016765965614427641, 30251327028834944270131, 371385619022538141977254297, 124784413675757116661951994259
Offset: 1
Examples
n A262627(n) base-10 representation 1 0 0 2 101 5 3 11001010011 1619
Links
- Clark Kimberling, Table of n, a(n) for n = 1..300
Programs
-
Mathematica
s = {0}; base = 2; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &]; AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s (* A262627 *) Map[FromDigits[ToString[#], base] &, s] (* A262628 *) (* Peter J. C. Moses, Sep 01 2015 *)