So the riddle is:
John has written down $k$ sequential odd numbers: $n_1, n_2, ..., n_{k-1}, n_{k}$ (where $n_{2} = n_{1} + 2$ and so on). We know that:
- The sum of the first four numbers is a fourth power of some prime number (so $n_{1} + n_{2} + n_{3} + n_{4} = p_{1}^4$ where $p_{1}$ is a prime number.
- The sum of the last five numbers is a fourth power of some prime number (so $n_{k} + n_{k-1} + n_{k-2} + n_{k-3} + n_{k-4}= p_{2}^4$ where $p_{2}$ is a prime number.
The question is - how many numbers have been written down ($k=?$).
I've tried to solve it numerically, but without success - is there a way to solve it analitically?
EDIT: Sorry it's not even, it is ODD!
My guess is that the correct formulation of the problem is:
In this case, the solution, as indicated in the other answers, should be $$ 1,3,5,7,\dots,121,123,125,127,129. $$
Proof.
The sum of four consecutive such numbers is $4$ times the average of the first and last one, so for the first question the average must be $4$ (so that you get the fourth power of $2$), and the four numbers are $1,3,5,7$.
The sum of five consecutive such numbers is $5$ times the average of the first and last one, so for the second question the average must be $125$ (so that you get the fourth power of $5$), and the five numbers are $121,123,125,127,129$.