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!)
A262642 Base-10 representation of 1 and the primes at A262641. 3
1, 31, 2659, 28921, 20254277, 222258347161, 6703502508238897, 2849796577598550571, 163260594826469315359, 78587320839900014133983, 63082726980138277941240209, 28861909227691304085982177103, 17774573388934687063056536849453 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
n A262641(n) base-10 representation
1 1 1
2 111 31
3 41114 2659
MATHEMATICA
s = {3}; 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 (* A262639 *)
Map[FromDigits[ToString[#], base] &, s] (* A262640 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262641.
Sequence in context: A062987 A302137 A136245 * A273983 A173563 A190527
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Oct 24 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 April 24 07:52 EDT 2024. Contains 371922 sequences. (Running on oeis4.)