OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
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
KEYWORD
base,nonn
AUTHOR
Labos Elemer, Nov 17 2004
STATUS
approved