Here's a fun little question I encountered along one of my many mathematical adventures:
Raj and Vikram are two travelers in ancient India, walking along the Silk road. On the first day of travel, Raj travels 5 yojanas, and on each successive day travels 3 yojanas more than the previous day. Vikram started at the same place and travels the same path, but started 5 days earlier, and travels 7 yojanas a day. On which day of Raj's travel will the two of them meet?
Details and assumptions: A yojana is an ancient Indian unit of measure. The silk road does not cross itself. Raj and Vikram will meet only if they have travelled the same distance. If they meet at any point on the 123rd day (say at 12:34pm), then your answer is that they meet on the 123rd day.
My approach:
Let us first consider Raj.
From the question, Raj covers an initial 5 yojanas and covers 3 yojanas per each succeeding day.
The total distance covered by Raj can be considered as an Arithmetic Progression,
$$ 5,\space 8,\space 11,\space 14,\space 17,\space 20,\space 23,\space ...$$
Let the the initial distance be $a$, the constant addition of distance be $d$ and let total distance be $a_n$ on the $n^{th}$ day,
$$\implies a_n = a + (n-1)\cdot d $$
Since $a = 5$ and $d = 3$,
$$\implies a_n= 5+(n-1)\cdot 3 = 3n + 2$$
So, on the $n^{th}$ day Raj meets Vikram at a distance of $3n+2$ yojanas.
Now let's consider Vikram.
Vikram started 5 days prior to when Raj started his journey and on each day he traveled 7 yojanas. Let the total distance traveled by Vikram be $x$.
$$\implies x = \frac{7 \text{ yojanas}}{1\text{ days}} * 5 \text{days} = 35 \text{ yojanas}$$
So, for Raj to get to that distance, $$\implies 3n+2 = 35$$ $$\implies n = \frac{35 - 2}{3} = 11$$
Thus, Raj and Vikram meet on the $11^{th} \text{ day}$.
But the provided answer is the $7^{th}$ day. Where have I gone wrong? Is there an error in my logic? and most importantly, is there a faster way of doing this question?