For any positive integer x , function f ( x ) is defined as the number of digits of the number x . For example, f ( 1 0 3 ) = 3 , f ( 7 8 ) = f ( 5 7 6 4 8 0 1 ) = 7 , ⋯ What is the value of the following sum
f ( 2 2 0 1 9 ) + f ( 5 2 0 1 9 ) = ?
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.
Awesome 👍🏻
Another way without using calculator ⌊ lo g 2 2 0 1 9 ⌋ + ⌊ lo g 5 2 0 1 9 ⌋ = ⌊ lo g 2 2 0 1 9 + lo g 5 2 0 1 9 ⌋ − 1 = lo g 1 0 2 0 1 9 − 1
Log in to reply
lo g 1 0 1 0 2 0 1 9 − 1 = 2 0 1 9 − 1 = 2 0 1 8 = 2 0 2 0
Log in to reply
Dont forget to add +2 from before sir
Log in to reply
@Achmad Damanhuri – But what you wrote was ⌊ lo g 2 2 0 1 9 ⌋ + ⌊ lo g 5 2 0 1 9 ⌋ = ⌊ lo g 2 2 0 1 9 + lo g 5 2 0 1 9 ⌋ − 1 = lo g 1 0 2 0 1 9 − 1 = 2 0 1 8
Log in to reply
@Chew-Seong Cheong – I just cut your work for the floor functin, except the floor function everything is the same like yours, sorry for misleading you
Problem Loading...
Note Loading...
Set Loading...
We note that f ( x ) = ⌊ lo g 1 0 x ⌋ + 1 , where ⌊ ⋅ ⌋ denotes the floor function . Then, we have:
f ( 2 2 0 1 9 ) + f ( 5 2 0 1 9 ) = ⌊ lo g 1 0 2 2 0 1 9 ⌋ + 1 + ⌊ lo g 1 0 5 2 0 1 9 ⌋ + 1 = ⌊ 2 0 1 9 lo g 1 0 2 ⌋ + ⌊ 2 0 1 9 lo g 1 0 5 ⌋ + 2 = ⌊ 2 0 1 9 × 0 . 3 0 1 0 ⌋ + ⌊ 2 0 1 9 × 0 . 6 9 9 0 ⌋ + 2 = ⌊ 6 0 7 . 7 1 9 ⌋ + ⌊ 1 4 1 1 . 2 8 1 ⌋ + 2 = 6 0 7 + 1 4 1 1 + 2 = 2 0 2 0