|
| |
|
|
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
(list; graph; refs; listen; history; internal format)
|
|
|
|
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 (wasserma(AT)spawar.navy.mil), Oct 27 2005
|
|
|
CROSSREFS
| Cf. A090290.
Sequence in context: A019935 A206643 A144846 * A160670 A109863 A179177
Adjacent sequences: A090286 A090287 A090288 * A090290 A090291 A090292
|
|
|
KEYWORD
| base,nonn
|
|
|
AUTHOR
| Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Nov 29 2003
|
|
|
EXTENSIONS
| More terms from David Wasserman (wasserma(AT)spawar.navy.mil), Oct 27 2005
|
| |
|
|