A repunit is a number that contains only the digit 1, and the repunit of digits is denoted by .
If , then find the sum of digits of the number .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
R n = 1 1 1 1 1 . . . n t i m e s = 1 0 n − 1 + 1 0 n − 2 + . . . + 1 0 2 + 1 0 + 1 = 9 1 ( 1 0 n − 1 )
f ( R n ) = f ( 9 1 0 n − 1 ) = 9 0 ( 9 1 0 n − 1 ) 2 + 2 0 ( 9 1 0 n − 1 ) + 1
⇒ f ( R n ) = 9 1 0 ( 1 0 n − 1 ) ( 1 0 n − 1 + 2 ) + 1
⇒ f ( R n ) = 9 1 0 ( 1 0 n − 1 ) ( 1 0 n + 1 ) + 1
⇒ f ( R n ) = 9 1 0 ( 1 0 2 n − 1 ) + 1
⇒ f ( R n ) = 9 1 ( 1 0 2 n + 1 − 1 0 + 9 )
⇒ f ( R n ) = 9 1 ( 1 0 2 n + 1 − 1 )
Therefore, f ( R n ) = R 2 n + 1
Hence, f ( R 1 0 ) = R 2 1 , which has 21 ones, and the sum of its digits is 21.