OFFSET
1,1
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
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
STATUS
approved