Electronics, PCB Design and PCB Layout Daycounter, Inc.
Engineering Services

Custom Firmware, Electronics Design, and PCB Layout


Water Level Sensor


The sum of the digits of N*9 is 9,Where 0<N<10


2*9 = 18, the sum of the digits is 9

3*9= 27, the sum of the digits is 9, etc.


Define sumdig(I2) as the sum of the digits of a 2 or 1 digit integer number I2.

Note that a 2 digit number can be expressed as 

I2= 10*N2 + 1*N1                                   (Definition 1).

where N1 and N2 are an integer 0<N1,N2<10.


sumdig(10*N2+1*N1) = N2+N1.            (Equation 1).

We must show that:  sumdig(N*9)= 9 where 0<N<10.

sumdig(N*9)= sumdig(N*(10-9))= sumdig(10N-N)= sumdig((10N-10) + (10 -9N))

= sumdig( 10*(N-1) + (10 -N))             (Equation 2). 

Since 0<N<10, then   0<= N-1<9, Equation 2 fits the form of Definition 1, where  (N-1) is N2 and (10-N) is N1.

sumdig( 10*(N-1) + (10 -N))  = N-1+ 10-N = 9  



Daycounter specializes in contract electronics design.  Do you need some help on your project?  Contact us to get a quote. 


[Employment] [Downloads] [Articles] [Contact Us]

Salt Lake City, UT, USA

Disclaimer: Daycounter, Inc. doesn't guarantee the accuracy of any of it's content. Use at your own risk.

© Copyright 2016 Daycounter, Inc. All rights Reserved.

Soil Moisture Sensor Probe