login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A175674 a(n) = smallest integer m>=0 such that sum of digits of n and m is >=10. 1
19, 9, 8, 7, 6, 5, 4, 3, 2, 1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, 4, 3, 2, 1, 0, 0, 0, 0, 0, 0, 3, 2, 1, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 8, 7, 6, 5 (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..104.

MATHEMATICA

Reap[Do[idn=IntegerDigits[n]; sn=Plus@@idn;

Do[If[10<=sn+Plus@@IntegerDigits[m], Sow[m]; Break[]], {m, 0, 10^5}], {n, 0, 200}]][[2, 1]]

CROSSREFS

Cf. A007953, A175675.

Sequence in context: A040345 A070685 A033339 * A175675 A006232 A260328

Adjacent sequences:  A175671 A175672 A175673 * A175675 A175676 A175677

KEYWORD

base,nonn

AUTHOR

Zak Seidov, Aug 07 2010

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 28 06:59 EST 2021. Contains 340490 sequences. (Running on oeis4.)