%I #6 Mar 24 2021 05:58:18
%S 0,0,0,97,911
%N Smallest prime of the form: all nines followed by prime(n) with a(n) > prime(n); or 0 if no such prime exists.
%C The next term is too large to include.
%C The sequence continues 10^1800 - 87, 999917, 919, 9923, 929, 9931, 937, 941, 9999943, 947, 953, 999959, 99961, 967, 971, ... - _Sean A. Irvine_, Feb 21 2010
%e a(4) = 97, prime(4) = 7.
%Y Cf. A113884, A114785, A113886, A113887, A085074, A114789, A114790.
%K base,nonn
%O 1,4
%A _Amarnath Murthy_, Nov 18 2005