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
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 |
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 |
Find min value of fn: |-5-x| + |2-x|+|6-x|+10-x|; where x is an integer 0 17 23 19
11 Answers Accounting, Cap Gemini,
what is jewellers rouge
P is heavier than Q but lighter than R. Q is heavier than T. S is heavier than P but lighter than V. Who among them is the lightest? (a) V (b) S (c) T (d) R (e) None of these
A man is standing facing the morning sun. He walks 10m south. Then takes a right turn and walks 15m. He then takes a left turn and walks 5m. He then turn around(about turn) and walks 20m.He then turns right and walks 15m.How far is the man from his starting point ?
If three person had buy watches in 60 rupees by a shopkeeper.if shopkeeper had given 10 rupees to his servent to return.servent had eaten something of rs 4 and then return rs 6 to each person.Now the watch cost 54 and each body contribute 18 so 54+4=58 where is 2 rupees.
Please send me some model test papers for sbi clerical exams to my email id oberoi.tanuj@gmail.com at the earliest
In 3.5 Kg rod , there is 74% silver. If it is alloyed with a 0.5 Kg rod, the % of silver goes up to 84%. The percent of silver in 0.5 Kg rod?
COMPLETE THE SERIES 19 48 30 96.... A.144 B. 192 C.160 D. NONE OF THESE
if A = D, B=E, C=F, SHOOT = ?
Area if square increase by 69% find sides % increased by?
write a program for Print the outputof 0 0 * 0 0 0 * 0 * 0 * * * * * 0 * 0 * 0 0 0 * 0 0
Three birds cross a point in a same st. line and of that 2 fly in opposite directions. If a triangle is formed with the position of the birds what kind of the triangle will be formed? a)isosceles b)right angle c)equilateral d)right angle and isosceles.