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!)
A101118 a(n) = the resulting prime generated when the process described in A101115 is applied to A101117(n). 4
2, 612113, 5372126317, 4818372912366173, 21291981879276213799, 912733515196363393600307, 668334992181698187977197951, 231879245133561335194866134641 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(3) = 5372126317 because 5372126317 is the last prime that can be generated by successively prepending nonzero digits to A101117(3). A101117(3) is 7. A101116(3) indicates that 9 digits can be successively prepended to 7 generating a new prime each time. Doing so and giving preference to the smallest digit which meets the requirement, generates the following primes: 17, 317, 6317, 26317, 126317, 2126317, 72126317, 372126317, 5372126317.
PROG
(Python)
g = agen() # uses agen() and imports from A101116
print([next(g)[2] for n in range(1, 7)]) # Michael S. Branicky, Jun 24 2022
CROSSREFS
Sequence in context: A072321 A237191 A367823 * A331870 A371642 A162927
KEYWORD
base,more,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), Dec 02 2004
EXTENSIONS
a(7)-a(8) and typo corrected in a(6) from Michael S. Branicky, Jun 24 2022
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 19 17:39 EDT 2024. Contains 371797 sequences. (Running on oeis4.)