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!)
A099664 a[n] is the largest prime before A002278[n] repdigits. 1
3, 43, 443, 4441, 44417, 444443, 4444409, 44444399, 444444443, 4444444429, 44444444441, 444444444443, 4444444444439, 44444444444353, 444444444444421, 4444444444444423, 44444444444444411, 444444444444444419 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
n=2: 43 is before 44.
MATHEMATICA
<<NumberTheory`NumberTheoryFunctions` Table[Table[PreviousPrime[4*(10^n-1)/9], {n, 1, 35}]
Table[NextPrime[FromDigits[PadRight[{}, n, 4]], -1], {n, 20}] (* Harvey P. Dale, Feb 25 2013 *)
CROSSREFS
Sequence in context: A020461 A138974 A036940 * A173770 A093163 A199020
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)