login
A262777
a(n) = 10^n - prime(n).
1
8, 97, 995, 9993, 99989, 999987, 9999983, 99999981, 999999977, 9999999971, 99999999969, 999999999963, 9999999999959, 99999999999957, 999999999999953, 9999999999999947, 99999999999999941, 999999999999999939, 9999999999999999933
OFFSET
1,1
EXAMPLE
a(4) = 10^4-7=9993.
MATHEMATICA
Table[10^n - Prime@ n, {n, 19}] (* Michael De Vlieger, Mar 24 2016 *)
PROG
(PARI) a(n) = 10^n - prime(n); \\ Altug Alkan, Mar 24 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Emre APARI, Mar 24 2016
EXTENSIONS
More terms from Altug Alkan, Mar 24 2016
STATUS
approved