MHB What is the value of n for greatest integer function to equal 2012?

  • Thread starter Thread starter juantheron
  • Start date Start date
  • Tags Tags
    Function Integer
Click For Summary
To find the natural number n for which the greatest integer function equals 2012, the equation f(n) = [n/1!] + [n/2!] + ... + [n/10!] must be solved. The function f(n) is non-decreasing, and it has been established that f(1000) is less than 2012 while f(2000) exceeds it. Given that the difference between 2000 and 1000 is less than 2^10, a binary search or bisection method can efficiently determine the value of n in about 10 iterations. This approach allows for precise identification of n that satisfies the equation. The solution process highlights the effectiveness of numerical methods in solving such problems.
juantheron
Messages
243
Reaction score
1
Calculate Natural no. $n$ for which $\displaystyle [\frac{n}{1!}]+[\frac{n}{2!}]+[\frac{n}{3!}]+...+[\frac{n}{10!}] = 2012$

where $[x] = $ Greatest Integer function
 
Mathematics news on Phys.org
The function $f(n)=\left\lfloor\dfrac{n}{1!}\right\rfloor+\dots+\left\lfloor\dfrac{n}{10!}\right\rfloor$ is non-decreasing and f(1000) < 2012 < f(2000). Since $2000-1000<2^{10}$, you can find n for which f(n) = 2012 in 10 iterations using binary search, or bisection method.
 
Thread 'Erroneously  finding discrepancy in transpose rule'
Obviously, there is something elementary I am missing here. To form the transpose of a matrix, one exchanges rows and columns, so the transpose of a scalar, considered as (or isomorphic to) a one-entry matrix, should stay the same, including if the scalar is a complex number. On the other hand, in the isomorphism between the complex plane and the real plane, a complex number a+bi corresponds to a matrix in the real plane; taking the transpose we get which then corresponds to a-bi...

Similar threads

Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 17 ·
Replies
17
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K