OFFSET
1,1
EXAMPLE
a(3) = (997 + 101)/2 = 549.
MAPLE
a:=n->(nextprime(10^n-1)+prevprime(10^(n+1)))/2: seq(a(n), n=1..20); # Emeric Deutsch, Feb 25 2005
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Aug 15 2002
EXTENSIONS
Corrected and extended by Emeric Deutsch, Feb 25 2005
STATUS
approved