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

A262654
Base-10 representation of 4 and the primes at A262653.
3
4, 61, 1663, 243263, 9857663, 3982846453, 122168020854499, 772191321163986959, 235380054470968985242897, 390489415238382125919557233, 2056313729049707794675149973499, 18249666491214590662011175235075053, 4157609603822695440999128471752421052593
OFFSET
1,1
LINKS
EXAMPLE
n A262653(n) base-10 representation
1 4 4
2 141 61
3 11411 1663
MATHEMATICA
s = {4}; 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 (* A262653 *)
Map[FromDigits[ToString[#], base] &, s] (* A262654 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262653.
Sequence in context: A378553 A229666 A252973 * A218472 A304176 A326225
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Oct 27 2015
STATUS
approved