MHB Finding $f(84)$ with the Defined Function $f$

  • Thread starter Thread starter anemone
  • Start date Start date
  • Tags Tags
    Function
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
The function $f$ is defined on the set of integers and satisfies

\[ f(n)=\begin{cases}
n-3, & \text{if} \,\,n\geq 1000 \\
f(f(n+5)), & \text{if}\,\, n< 1000
\end{cases}
\]

Find $f(84)$.
 
Last edited:
Mathematics news on Phys.org
anemone said:
The function $f$ is defined on the set of integers and satisfies

\[ f(n)=\begin{cases}
n-3, & \text{if} \,\,n\leq 1000 \\
f(f(n+5)), & \text{if}\,\, n< 1000
\end{cases}
\]

Find $f(84)$.

I think 1st condition should be $>=$
 
Ah, thanks to kaliprasad for pointing it out! Sorry all! I made a blunder, I think for those who know me well, you can tell this wasn't the first time I made a typo in my posting, hehehe...but, I apologize. This shouldn't happen in the first place, I should have checked both before and after posting too!
 
anemone said:
Ah, thanks to kaliprasad for pointing it out! Sorry all! I made a blunder, I think for those who know me well, you can tell this wasn't the first time I made a typo in my posting, hehehe...but, I apologize. This shouldn't happen in the first place, I should have checked both before and after posting too!

No one is perfect, and only those who do things put themselves at the risk of making a mistake. When I see that someone contributing to a site has possibly made a typo or other error in a post, I tend to send them a PM so they can correct it with minimal embarrassment. :)
 
As for the value of f(n) for n less than 1000 can be computed if we now for n+5 so let us compute f(n) for n = 1004 to 995 downwards
$f(1004) = 1004- 3 = 1001$
$f(1003) = 1003 - 3 = 1000$
$f(1002) = 1002-3 = 999$
$f(1001) = 1001 - 3 = 998$
$f(1000) = 1000-3 = 997$
$f(999) = f(f(1004)) = f(1001) = 998$
$f(998) = f(f(1003)) = f(1000) = 997$
$f(997) = f(f(1002)) = f(999) = 998$
$f(996) = f(f(1001)) = f(998) = 997$
$f(995) = f(f(1000)) = f(997) = 998$

Now as 84 + 915 = 999 or 84 + 183 * 5 = 999 So let us evaluate f(999-5k) for some k

we have $f(994) = f(f(999)) = f(998) = 997$
$f(989) = f(f(994)) = f(997) = 998$
$f(984) = f(f(989)) = f(998) = 997$
from the above we see that $f(999-kn)$ is $998$ if k is even and is $997$ if k is odd

as $999- 84 = 183 * 5$ so we get $f(84) = 997$
 
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...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
I'm interested to know whether the equation $$1 = 2 - \frac{1}{2 - \frac{1}{2 - \cdots}}$$ is true or not. It can be shown easily that if the continued fraction converges, it cannot converge to anything else than 1. It seems that if the continued fraction converges, the convergence is very slow. The apparent slowness of the convergence makes it difficult to estimate the presence of true convergence numerically. At the moment I don't know whether this converges or not.
Back
Top