The problem below was originally posted by someone on the WhatsApp group. The first step needed a person to consider the last digit of his/her phone number, actually, this step is equivalent to choosing randomly any integer from $0$ to $9$, because practically, phone number's last digit must be any integer from $0$ to $9$. There are a couple of modifications I've made but they do not in any sense change the logic of the original problem.
Here is the problem:
1. Consider any integer from $0$ to $9$, call it $n$.
2. Multiply the integer by $2$.
3. Add $5$ to the answer in 2 above.
4. Multiply the answer obtained in Step 3 by $50$.
5. Add the number $1766$ to the result obtained in 3 above.
6. Subtract $n \times 100$ from the answer obtained in step number 5 above.
7. Finally, subtract your birth year from the answer obtained in step number 6.
The answer you get is your age!
The question is, what is the mathematics behind this problem?
Let's go step-by-step to reveal out the secret!
Step 1. Let's consider an integer, say $n$.
Step 2: Let's multiply $n$ by $2$,
so, we have $2n$.
Step 3. Adding $5$, we have $2n + 5$.
Step 4. Multiplying by $50$, we get $(2n + 5)50$.
Step 5. Adding $1766$, results into $(2n + 5)50 + 1766$.
Step 6. Subtracting $n \times 100$ yields $(2n + 5)50 + 1766 - (n \times 100)$.
Step 7. Let's denote the birth year by $Y$, and finally, subtracting it from the answer in Step 6 above,
we have,
$\text{Age}= (2n + 5)50 + 1766 - (n \times 100) - Y \\ \\ = 100n + 250 + 1766 - 100n - Y \\ \\ = 100n - 100n + 250 + 1766 - Y \\ \\ = 2016 - Y,$
which is the usual algebraic formula for calculating roughly the age of a person in years, i.e.,
Age $=$ Current Year - Birth Year.
$250$ that comes from Steps 3 and 4 is added to a constant $1766$ (for the algorithm to work, this number needs to be incremented by $1$ each year after 2016) to obtain $2016$, which is the digit for the current year. The rest of the terms cancel each other, and we remain with $2016 - Y$.
-
- Active Topics
-
-
- by Eli 10 hours ago Re: What is in Your Mind? View the latest post Replies 689 Views 274146
- by Eli 2 days ago Iran Launches Retaliatory Attack Against Israel, and Israel Retaliates by Attacking Iranian Isfahan Millitary Base View the latest post Replies 28 Views 890
- by Eli 3 days ago All in One: YouTube, TED, X, Facebook and Instagram Reels, Videos, Images and Text Posts View the latest post Replies 319 Views 9008
- by Eli 6 days ago Python Packages for Scientific Computing View the latest post Replies 8 Views 3011
- by Eli 6 days ago Dunia Yetu: Building Tanzania's Digital Future Together View the latest post Replies 5 Views 1845
- by Eli 1 week ago Russia Invades Ukraine View the latest post Replies 646 Views 210474
- by Eli 1 week ago Programmatically Move Files from One Folder to Another View the latest post Replies 6 Views 1431
- by Eli 2 weeks ago Collection of Greatest Christian Hymns of all Times View the latest post Replies 33 Views 43755
- by Eli 2 weeks ago What is Retrieval-Augmented Generation (RAG)? View the latest post Replies 2 Views 361
- by Eli 2 weeks ago Chat With ChatGPT - An Interactive Conversational AI View the latest post Replies 22 Views 24377
-
Algorithm that will reveal your age
-
- Information
-
Who is online
Users browsing this forum: No registered users and 0 guests