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 / suman
f(2) = 1
f(20)= 12
f(200) = 140
f(2000) = 1600
f(20000) = 18000
f(200000) = 200000
200,000 is the answere
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
There are some houses in a street back to back. And they that house behind 10 were 23. How many houses in the street?
A sum of money becomes 2.5 times itself at 12.5% simple interest p.a. What should be the period of investment to get this much return?
Adam stands facing towards northwest direction.He walks 61 m and then turns southwards and walks another 60 m. How far is he from the starting point.?
if A = D, B=E, C=F, SHOOT = ?
if on a salary of rs."S" per month,one has to pay one tax of x rs. And a second type of tax of y rs then % of salary taken home is?
Length and breadth of a rectangle are in ratio 7:5. If length is reduced by 5 and breadth by 2, area reduces by 65. Find length and breadth.
A says “the horse is not blackâ€. B says “the horse is either brown or grey. “C says “the horse is brown†At least one is telling truth and at least one is lying. What is the color of the horse?
20% of a 6 litre solution and 60% of 4 litre solution are mixed. What percentage of the mixture of solution ?
in a school for a student out of a 100 he got 74 of average for 7 subjects and he got 79 marks in 8th subject. What is the average of all the subjects?
What is the 8th term in the series 1, 4, 9, 18, 35, 68, . . .
When time is 1:50, what is the angle between the two hands of a clock?
WHO WAS GIVEN BEST ACTOR AWAR 2010 IN FILM FARE?
There is a lucky draw held every day. If there is a winning number eg. 1876, then all possible numbers like 1867 ,1687,1768 etc are the numbers that match irrespective of the position of the digits. Thus all these numbers qualify fr the lucky draw prize. Assume there is no zero digit in any numbers. Write a program to show all the possible winning numbers if a "winningnumber" is passed as an argument to the function. i want a solution in c/c++ language
A man can row downstream at a rate of 14 kmpl & upstream at 9 kmpl. Find man's rate in still water ?
In a journey of 15 miles two third distance was travelled with 40 mph and remaining with 60 mph.How much time the journey takes...