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!)
A262630 Base-10 representation of 1 and the primes at A262629. 3
1, 7, 31, 127, 5113, 303049, 130677919, 8561616127, 343370835961, 398015959727917, 6536129506258687661, 136824982467292060343, 1727891550586579544797, 518772379027828374941147, 33164398702973727192477403, 91254204345537698333055497929 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
n A262629(n) base-10 representation
1 1 1
2 111 7
3 11111 31
4 1111111 127
5 1001111111001 5113
MATHEMATICA
s = {1}; base = 2; 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 (* A262629 *)
Map[FromDigits[ToString[#], base] &, s] (* A262630 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262629. Subsequence of A016041 (except a(1)).
Sequence in context: A036282 A033474 A001896 * A282857 A296573 A180147
KEYWORD
nonn,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 20:05 EDT 2024. Contains 371254 sequences. (Running on oeis4.)