login
A091802
10^n - (largest n-digit multiple of the n-th prime).
3
2, 1, 5, 4, 10, 1, 5, 17, 20, 6, 19, 1, 16, 36, 40, 46, 8, 41, 6, 48, 63, 67, 63, 78, 71, 100, 37, 12, 30, 31, 66, 12, 10, 79, 83, 20, 146, 145, 158, 132, 8, 36, 86, 46, 109, 89, 111, 210, 177, 12, 186, 44, 58, 211, 192, 33, 183, 187, 154, 165, 176, 235, 269, 289, 168, 38
OFFSET
1,1
LINKS
MATHEMATICA
ndmd[n_]:=Module[{x=Prime[n]}, 10^n-x Floor[(10^n-1)/x]]; Array[ndmd, 70] (* Harvey P. Dale, Jan 05 2012 *)
CROSSREFS
a(n) = 10^n - A091801(n).
Sequence in context: A166517 A019473 A056605 * A144240 A233525 A209143
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Feb 21 2004
EXTENSIONS
More terms from Ray Chandler, Feb 22 2004
STATUS
approved