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”).

A262662
Base-10 representation of 1 and the primes at A262661.
3
1, 73, 397921, 1367644241, 299767396606721, 90081358266396705673, 572449184873406814806649, 241691401643304337894510228163, 1070153549095058339670505721475283, 9539239297109609328178537670671873231, 582002984818031754009910745491662885723817
OFFSET
1,2
LINKS
EXAMPLE
n A262661(n) base-10 representation
1 1 0
2 111 73
3 1411141 397921
MATHEMATICA
s = {1}; base = 8; 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 (* A262661 *)
Map[FromDigits[ToString[#], base] &, s] (* A262662 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262661.
Sequence in context: A183490 A232307 A232457 * A291991 A188957 A159438
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Oct 31 2015
STATUS
approved