A262636 Base-10 representation of 1 and the primes at A262635.
1, 409, 88469, 3499607, 525755773, 1889074241401, 14476124563693171, 3690382506839631667, 944489835647492584243, 17945058791198905978063, 1798278215177468964031733, 17136765345945336793560989047, 39126270988987383599688999460333
Offset: 1
Examples
n A262635(n) base-10 representation 1 1 1 2 12121 409 3 111212111 88469
Links
- Clark Kimberling, Table of n, a(n) for n = 1..300
Programs
-
Mathematica
s = {1}; base = 4; 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 (* A262635 *) Map[FromDigits[ToString[#], base] &, s] (* A262636 *) (* Peter J. C. Moses, Sep 01 2015 *)
Comments