Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



Consider a function which, for a given whole number n, returns the number of ones required when wri..

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

Consider a function which, for a given whole number n, returns the number of ones required when wri..

Answer / sk

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

Is This Answer Correct ?    4 Yes 0 No

Consider a function which, for a given whole number n, returns the number of ones required when wri..

Answer / tihor

its is 1599990

Is This Answer Correct ?    2 Yes 5 No

Consider a function which, for a given whole number n, returns the number of ones required when wri..

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

More General Aptitude Interview Questions

Find the missing number : 0, 6, 29, 63,124?

3 Answers   Godrej, Godrej and Boyce, HCL, Infosys, TCS,


A man 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?

0 Answers   3i Infotech,


If you go to Eclerx interview, be sure that u wanna be waiting for several hrs, just for filling the application form it will take 15-20 min followed by hr and aptitude test. if u clear hr then aptitude then u will told to go to ghatkopar or tata bye bye ( will receive a call from hr person ) till now not receive any call

3 Answers   eClerx,


The area of the maximum size of the circle described from the 10 square inch square?

0 Answers   Hexaware,


If 9x-3y=12 and 3x-5y=7 then 6x-2y = ?

1 Answers   Cisco, Mu Sigma,


A car covers a certain distance taking 7 hours in forward journey. During the return journey, speed was increased by 12 kmph and it takes 5 hours. What is total distance covered? (a) 210 km (b) 70 km (c) 440 km (d) 220 km (e) None of these

8 Answers   Banking,


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

0 Answers   HCL,


In a row of girls, Bina is 5th from the left and Priyanka is 6th from the right. When they exchange their positions, then Bina becomes 13th from the left. What will be Priyanka?s position from the right ? (A) 14th (B) 7th (C) 11th (D) 18th

5 Answers  


A person starts walking at a speed of 5km/hr through half the distance, rest of the distance he covers with a speed 4km/hr. Total time of travel is 9 hours. What is the maximum distance he can cover?

0 Answers   Hexaware,


11:? 92 92 42 38 42 18 14 14 18 6 4 2 4 6

2 Answers   Satyam,


pls send me ford's aptitude,technical and HR questions to my id pavim88@gmail.com,its very urgent

1 Answers  


Can anyone help me out with the clerical examination aptitude test model (South Indian Bank).

0 Answers  


Categories