login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A073863
a(1) = 4; a(n) = average of the largest and the smallest n-digit primes.
0
4, 54, 549, 5491, 54999, 549993, 5499997, 55000004, 549999972, 5499999987, 54999999998, 549999999996, 5500000000005, 55000000000005, 550000000000010, 5499999999999987, 55000000000000029, 549999999999999996
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
Sequence in context: A269507 A302942 A292305 * A269480 A199022 A221395
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Aug 15 2002
EXTENSIONS
Corrected and extended by Emeric Deutsch, Feb 25 2005
STATUS
approved