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


Please Help Members By Posting Answers For Below Questions

20% of a 6 litre solution and 60% of 4 litre solution are mixed. What percentage of the mixture of solution ?

739


In which of the system, decimal number 194 is equal to 1234?

906


The hour hand lies between 3 and 4. Tthe difference between hour and minute hand is 50 degree.What are the two possible timings?

1127


When time is 1:50, what is the angle between the two hands of a clock?

693


Fifty minutes ago if it was four times as many minutes past three o'clock, how many minutes is it to six o'clock?

775






A persons salary iis decreased by steps of 20%, 15% and 10%. What will be the percentage decrease, if the salary is decreased in a single shot?

1191


Radha, Geeta & Revathi went for a picnic.After a few days they forgot the date,day and month on which they went to picnic.Radha said that it was on Thursday,May 8 and Geeta said that it was Thursday May 10.Revathi said Friday June 8.Now one of them told all things wrongly,others one thing wrong and the last two things wrongly.If April 1st is tuesday what is the right day,date and month?

768


a person who decided to go weekend trip should not exceed 8 hours driving in a day average speed of forward journey is 40 mph.due to traffic in sun days the return journey average speed is 30 mph.how far he can select a picnic spot.

929


k, l are men who take home a salary of x, y respectively.the total amount taken home is

686


In 8*8 chess board what is the total number of squares refer oder

679


0.512 * 18902358 =?

681


What is the missing number in this series? 8 2 14 6 11 ? 14 6 18 12

703


‘a‘ number of persons work daily ‘b’ hours to produce ‘c’ items. If ‘d’ persons walks away from the group what will be the number of hours to produce ‘c’ items. ?

741


f(X)= 2X-1 + f(X-1) if X is not equal to zeroandiff(X=0)=0, Value of f(5)

792


In a party there are women and cats.There are 18 heads and 72 legs altogether. How many women and cats?

713