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!)
A261199 Minimal prime concatenation sequence with base 10 and seed 10. 2
10, 101, 1013, 10133, 101333, 10133303, 1013330309, 10133303093, 101333030933, 10133303093323, 1013330309332339, 101333030933233921, 10133303093323392109, 101333030933233921097, 10133303093323392109703, 1013330309332339210970311, 10133303093323392109703113 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
The least prime starting with seed 10 is 101; the least prime starting with 101 is 1013; the least prime starting with 1013 is 10133. Triangular format:
10
101
1013
10133
101333
10133303
1013330309
MATHEMATICA
b = 10; s = {{10}};
Do[NestWhile[# + 1 &, 0, ! (PrimeQ[FromDigits[tmp = Join[Last[s], (nn = #;
IntegerDigits[nn - Sum[b^n, {n, l = NestWhile[# + 1 &, 1, ! (nn - (Sum[b^n, {n, #}]) < 0) &] - 1}], b, l + 1])], b]]) &]; AppendTo[s, tmp], {20}]; Map[FromDigits, s] (* Peter J. C. Moses, Aug 06 2015 *)
CROSSREFS
Cf. A261199.
Sequence in context: A175541 A180175 A267526 * A041041 A333344 A163461
KEYWORD
nonn,easy,base
AUTHOR
Clark Kimberling, Sep 16 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 May 8 09:02 EDT 2024. Contains 372332 sequences. (Running on oeis4.)