login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A262648
Base-10 representation of 0 and the primes at A262647.
3
1, 43, 55987, 102792517, 95125388731, 3981385394034229, 27783887681061330839, 7141162170983023407421, 40050387387887393264626841, 400599026018424027699693461857, 2500775549161597801615214316269999, 35465901730059327498617881373769591811
OFFSET
1,2
LINKS
EXAMPLE
n A262647(n) base-10 representation
1 1 1
2 111 43
3 1111111 55987
MATHEMATICA
s = {1}; base = 6; 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 (* A262645 *)
Map[FromDigits[ToString[#], base] &, s] (* A262646 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262647.
Sequence in context: A262856 A302484 A177488 * A185558 A155477 A212738
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Oct 25 2015
STATUS
approved