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