[go: up one dir, main page]

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

A262636
Base-10 representation of 1 and the primes at A262635.
3
1, 409, 88469, 3499607, 525755773, 1889074241401, 14476124563693171, 3690382506839631667, 944489835647492584243, 17945058791198905978063, 1798278215177468964031733, 17136765345945336793560989047, 39126270988987383599688999460333
OFFSET
1,2
LINKS
EXAMPLE
n A262635(n) base-10 representation
1 1 1
2 12121 409
3 111212111 88469
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 *)
CROSSREFS
Cf. A262635. Subsequence of A029972.
Sequence in context: A031601 A107625 A061333 * A238753 A157431 A179129
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Oct 02 2015
STATUS
approved