|
| |
|
|
A147830
|
|
Minimum number k for which the digital sum of k*n is 10n.
|
|
2
|
|
|
|
0, 19, 199, 1333, 17497, 199999, 1333333, 12842857, 374999986, 1111111111, 199999999999
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
|
OFFSET
|
0,2
|
|
|
LINKS
|
Table of n, a(n) for n=0..10.
|
|
|
MAPLE
|
P:=proc(i) local j, k, n, ok, w; for n from 0 by 1 to i do j:=-1; ok:=1; while ok=1 do j:=j+1; w:=0; k:=n*j; while k>0 do w:=w+k-(trunc(k/10)*10); k:=trunc(k/10); od; if w=10*n then ok:=0; print(j); fi; od; od; end: P(100);
|
|
|
CROSSREFS
|
Cf. A147822-A147829, A147831.
Sequence in context: A058370 A164890 A066007 * A135162 A185687 A067272
Adjacent sequences: A147827 A147828 A147829 * A147831 A147832 A147833
|
|
|
KEYWORD
|
easy,nonn,base
|
|
|
AUTHOR
|
Paolo P. Lava and Giorgio Balzarotti, Nov 14 2008
|
|
|
EXTENSIONS
|
Edited by Charles R Greathouse IV, Nov 01 2009
a(6)-a(10) from Donovan Johnson, Sep 16 2012
|
|
|
STATUS
|
approved
|
| |
|
|