login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A262632 Base-10 representation of 1 and the primes at A262631. 3
1, 13, 1093, 167309, 1033369, 7883077, 974928839, 685325330447, 384532463201461, 36815155568146289, 229925116170082520417, 148014988051032245586139, 12100604707837079041828993, 1155600708425254785803483981, 1006197859457454560045466031133 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
n A262631(n) base-10 representation
1 1 1
2 111 13
3 1111111 1093
4 22111111122 167309
MATHEMATICA
s = {1}; base = 3; 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 (* A262631 *)
Map[FromDigits[ToString[#], base] &, s] (* A262632 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262631.
Sequence in context: A292337 A201118 A282968 * A076481 A185834 A264249
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Oct 02 2015
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 12:59 EDT 2024. Contains 371254 sequences. (Running on oeis4.)