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 / sk

Next Largest NO such that f(n) = n is
199981

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Find the next letter in the series B,F,J,P ---

805


a cube has colors blue,red ,yellow each on two opposite sides.cube is divided into "32 small cubes and 4 large cubes". how many cubes (on 36 cubes) have blue at least one side. how many cubes have colors on two sides.

742


There is a room with 6' x 8'. A 1' tile is fixed along the 4 walls in one row. How many 1" tiles require to finish the work.

1381


All men of this party are republican . mohan is member of this party. mohan is republican is true or false or camn't say?

705


In a fraction, if 1 is added to both the numerator at the denominator, the fraction becomes 1/2. If numerator subtracted from the denominator, the fraction becomes 3/4. Find the fraction.

727






Low temperature at the night in a city is 1/3 more than 1/2 hinge as higher temperature in a day. Sum of the low temp and highest temp is 100c. Then what is the low temperature

827


(x-y/3)-(y-x/3)=?

705


What is degree of a Relation?

714


Which is the biggest perfect square amongst the following 15129, 12348, 23716, 20736

1486


If two pencils cost 8 cents, then how much do 5 pencils cost?

1032


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 Jun 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?

896


There are 9 balls of equal size and same weight (they look similar) except 1. How may weighs required to find the dissimilar ball using a weighing balance?

730


A company manufactures x refrigerators cp.(9000+500x0 sp=500x; what must be the value of x so that atlas the amount gained After selling is equal to the amount spent on production

813


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

1959


There are two queues at a discount store billing counter. In the first queue there are a1 customers all with b1 items in their cart, while in the second queue there are a2 customers all with b2 items in their cart. It takes t seconds to process each item and p seconds for each person to pay. A customer wishes to know which queue to join.Which one of these options gives the condition for the first queue to be the better queue to join?

675