login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099668 a[n] is the largest prime before A002282[n] repdigits. 10
7, 83, 887, 8887, 88883, 888887, 8888861, 88888883, 888888887, 8888888837, 88888888859, 888888888887, 8888888888857, 88888888888873, 888888888888883, 8888888888888753, 88888888888888801, 888888888888888859 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..18.

EXAMPLE

n=2: 83 is before 88.

MATHEMATICA

<<NumberTheory`NumberTheoryFunctions` Table[Table[PreviousPrime[8*(10^n-1)/9], {n, 1, 35}]

Table[NextPrime[FromDigits[PadRight[{}, n, 8]], -1], {n, 20}] (* Harvey P. Dale, Jul 12 2014 *)

CROSSREFS

Cf. A003618, A003617, A096497, A096498, A068104, A002275-A002283, A099656-A099667.

Sequence in context: A297716 A075137 A268704 * A240170 A231259 A187649

Adjacent sequences:  A099665 A099666 A099667 * A099669 A099670 A099671

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 6 11:51 EDT 2020. Contains 333273 sequences. (Running on oeis4.)