|
|
A175675
|
|
a(n) = smallest integer m>=n such that sum of digits of n and m is >=10.
|
|
1
|
|
|
19, 9, 8, 7, 6, 5, 6, 7, 8, 9, 18, 17, 16, 15, 14, 15, 16, 17, 18, 19, 26, 25, 24, 23, 24, 25, 26, 27, 28, 29, 34, 33, 32, 33, 34, 35, 36, 37, 38, 39, 42, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
A007953(n) + A007953(m)>=10.
|
|
LINKS
|
Table of n, a(n) for n=0..71.
|
|
EXAMPLE
|
a(0)=19 because 0+1+9=10, a(1)=9 because 1+9=10.
|
|
MATHEMATICA
|
Reap[Do[idn=IntegerDigits[n]; sn=Plus@@idn;
Do[If[10<=sn+Plus@@IntegerDigits[m], Sow[m]; Break[]], {m, n, 10^5}], {n, 0, 200}]][[2, 1]]
|
|
CROSSREFS
|
Cf. A007953, A175674.
Sequence in context: A070685 A033339 A175674 * A006232 A260328 A122549
Adjacent sequences: A175672 A175673 A175674 * A175676 A175677 A175678
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Zak Seidov, Aug 07 2010
|
|
STATUS
|
approved
|
|
|
|