login
A090289
Smallest prime of the form 10^k - prime(n), or 0 if no such prime exists.
2
0, 7, 5, 3, 89, 0, 83, 0, 977, 71, 0, 0, 59, 0, 53, 47, 41, 0, 0, 29, 0, 0, 17, 11, 3, 999999999899, 0, 999999893, 0, 887, 0, 9999999999999999999869, 863, 0, 9851, 0, 0, 0, 9833, 827, 821, 0, 809, 0, 9803, 0, 0, 0, 773, 0, 9767, 761, 0, 9749, 743
OFFSET
2,2
COMMENTS
If prime(n)==1 (mod 3) then a(n)=0. Subsidiary Sequence: indices of the start of n successive zeros.
If prime(n) == 1 (mod 3) then a(n) is 0 or 3. - David Wasserman, Oct 27 2005
CROSSREFS
Cf. A090290.
Sequence in context: A206643 A257499 A144846 * A160670 A145985 A109863
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Nov 29 2003
EXTENSIONS
More terms from David Wasserman, Oct 27 2005
STATUS
approved