Consider a function which, for a given whole number n,
returns the number of ones required when writing out all
numbers between 0 and n. For example, f(13)=6. Notice that
f(1)=1. What is the next largest n such that f(n)=n?
Answer Posted / blahblahblah
#1: N = 1, f(N) = 1
#2: N = 199981, f(N) = 199981
#3: N = 199982, f(N) = 199982
#4: N = 199983, f(N) = 199983
#5: N = 199984, f(N) = 199984
#6: N = 199985, f(N) = 199985
#7: N = 199986, f(N) = 199986
#8: N = 199987, f(N) = 199987
#9: N = 199988, f(N) = 199988
#10: N = 199989, f(N) = 199989
#11: N = 199990, f(N) = 199990
#12: N = 200000, f(N) = 200000
#13: N = 200001, f(N) = 200001
#14: N = 1599981, f(N) = 1599981
#15: N = 1599982, f(N) = 1599982
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
A gardener plants 100 meters towards east, next 100 meters towards north,next 100 meters towards west. 98 meters towards east, 96 meters towards north and 96 meters towards west, 94 meters towards south. and 94 meters towards east and so on. If a person walks between the trees what is the total distance travelled by him before he reaches the center.
Find the hypotenuse of a right angle isoceles triangle whose area is 50.
If the % of defective balls is 10% balls,and the number of defective balls is 5.The number of balls is
A son and father goes for boating in river upstream . After rowing for 1 mile son notices the hat of his father falling in the river. After 5min. he tells his father that his hat has fallen. So they turn around and are able to pick the hat at the point from where they began boating after 5 min.Tell the speed of river.
There r 1200 elephant .some have blue and pink strips.some have pink & green strip. 400 ele. have only pink strip. how many have only blue strip
In a well of 20feet depth, a frog jumps 5feet up in the morning and comes 4feet down in the evening, on which day the frog gets out of the well.
A boy has Rs 2. He wins or loses Re 1 at a time If he wins he gets Re 1 and if he loses the game he loses Re 1. He can loose only 5 times. He is out of the game if he earns Rs 5. Find the number of ways in which this is possible?
Find the next series: AC CG GO OE ?
5 thieves stole diamonds in following way 1st stole half +2 2nd remaining half +2. for 5th there was no diamond how many diamond were there initially
G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?
If the product of three consecutive int is 210,then sum of the two smaller ints is:
If all the natural numbers from 256 to 400 are written side by side to each other, a large natural number is obtained. How many times 6 appears in this large natural number?
In a group of 15 students,7 of them have studied Marathi, 8 of them have studied History, and 3 have not studied either. How many students studied both Marathi and History?
A person has Rs 100/- in his pocket, he can as 25 pencils or 15books. He kept 15% of the money for travelling expenses and purchased 5 ncils.So how many books he can purchase with the remaining money.
A speedboat whose speed is 15 kmph in still water goes 30 kmph downstream and comes back in a total of 4hrs 30min. What is the speed of the stream in kmph?