My age is a product of (exactly) two prime numbers. Also, the same was true before my last birthday and will be true after my upcoming birthday.
Assume that I am an elf, with unlimited lifespan.
What are my possible ages?
(See https://brilliant.org/discussions/thread/semi-prime-age-version-1/ for a simpler version of this problem.)
Easy Math Editor
This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.
When posting on Brilliant:
*italics*
or_italics_
**bold**
or__bold__
paragraph 1
paragraph 2
[example link](https://brilliant.org)
> This is a quote
\(
...\)
or\[
...\]
to ensure proper formatting.2 \times 3
2^{34}
a_{i-1}
\frac{2}{3}
\sqrt{2}
\sum_{i=1}^3
\sin \theta
\boxed{123}
Comments
Note: I do not yet know if this problem has more than one solution. I have come a bit on analyzing the problem. My steps so far:
Call the age N. Every second number is divisible by two. Every third number is divisible by three. Thus, there is at least one of (N–1), N or (N+1) that is divisible by two , and exactly one is divisible by three.
Every second even number is divisible by 4, so if two numbers in the sequence is divisible by two, one of them is divisible by 2*2. This would then be the only two prime factors in that number. But this cannot be the case, since 4 doesn't fit into a sequence of three semi-prime numbers.
Thus, only one number is divisible by two. Thus the middle number (N) is even.
So we are looking for a number N such that… N=2P1 either (N−1) or (N+1) is 3P2 and either (N+1) or (N−1) is P3⋅P4
where P1, P2 and P3 are unique prime numbers, but P4 may be equal to P3.
Ok, so I just wrote a short script to check this problem out numerically. There are 16 valid ages to find below 1000 years, and 80 valid ages below 10 000 years. This probably covers the life span of the elves in Middle Earth, but it doesn't solve the problem completely.
EDIT: …and there are 2415 valid ages below 1 000 000 years. I am starting to think that the pattern is really difficult to find.