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
AI Thread 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.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagoras'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top