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!)
A099663 a[n] is the largest prime before A002276[n] repdigits. 0
19, 211, 2221, 22193, 222199, 2222219, 22222199, 222222193, 2222222137, 22222222189, 222222222169, 2222222222197, 22222222222201, 222222222222151, 2222222222222203, 22222222222222153, 222222222222222221 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
EXAMPLE
n=2: 19 is before 22.
MATHEMATICA
<<NumberTheory`NumberTheoryFunctions` Table[Table[PreviousPrime[ *2(10^n-1)/9], {n, 2, 35}]
Drop[NextPrime[#, -1]&/@LinearRecurrence[{11, -10}, {0, 2}, 20], 2] (* Harvey P. Dale, Dec 19 2020 *)
CROSSREFS
Sequence in context: A032613 A199132 A201791 * A202665 A115854 A220978
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)