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!)
A099665 a[n] is the largest prime before A002279[n] repdigits. 0
3, 53, 547, 5531, 55547, 555523, 5555527, 55555553, 555555541, 5555555519, 55555555543, 555555555551, 5555555555551, 55555555555541, 555555555555529, 5555555555555539, 55555555555555519, 555555555555555487 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
n=2: 53 is before 55.
MATHEMATICA
<<NumberTheory`NumberTheoryFunctions` Table[Table[PreviousPrime[5*(10^n-1)/9], {n, 1, 35}]
NextPrime[#, -1]&/@Table[FromDigits[PadRight[{}, n, 5]], {n, 20}] (* Harvey P. Dale, Aug 31 2015 *)
CROSSREFS
Sequence in context: A036941 A215435 A121504 * A173802 A001279 A092447
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 July 19 15:03 EDT 2024. Contains 374410 sequences. (Running on oeis4.)