Find the number of zeroes contained in the decimal representation of the large number ( 8 n number of 9’s 9 9 9 9 9 9 9 9 9 9 9 9 … 9 ) 2 for n > 1 .
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.
@Mark Hennings , we really liked your comment, and have converted it into a solution.
8 9 9 . . . 9 2
= ( 9 0 0 . . . . 0 − 1 ) 2
= ( 9 ∗ 1 0 n − 1 ) 2
= 8 1 ∗ ( ( 1 0 ) 2 ) n + 1 − 2 ∗ 9 ∗ ( 1 0 ) n
= 9 ∗ ( 1 0 ) n [ 9 ∗ ( 1 0 ) 2 − 2 ] + 1
= 8 9 8 ∗ 9 ∗ ( 1 0 ) n + 1
= 8 0 8 2 ∗ ( 1 0 ) n + 1
∵ [ 8 0 8 2 ∗ ( 1 0 ) n has n+1 zeros]
∴ 8 0 8 2 ∗ ( 1 0 ) n + 1 has n number of zeros.
Problem Loading...
Note Loading...
Set Loading...
We are interested in ( 9 × 1 0 n − 1 ) 2 , which equals (when n ≥ 2 ) 8 1 × 1 0 2 n − 1 8 × 1 0 n + 1 = 8 1 0 0 . . . 0 × n 0 0 . . . 0 × n − 1 8 0 0 . . . 0 × n + 1 = 8 0 9 9 . . . 9 n − 2 8 2 0 0 . . . 0 × n + 1 = 8 0 9 9 . . . 9 × n − 2 0 0 . . . 0 × n − 1 1 Thus there are 1 + n − 1 = n 0 s in 8 9 9 . . . 9 × n , at least for n ≥ 2 . Note that 8 9 2 = 7 9 2 1 has no zeros, so breaks this rule. You should specify that n ≥ 2 here.