Solution:
Answer: 6922
Consider the sequence of hops backwards. It is an increasing sequence where the first finite differences are increasing, so all the second finite differences are all positive integers. Furthermore, given positive integers a,e0 (representing the initial value and initial first finite difference), and a sequence of positive integers e1,e2,…,ek, representing the second finite differences, we obtain a sequence of k+2 integers satisfying our constraints where the i-th term is equal to a+∑j=0i−2(i−j−1)ej. The sum of these values is equal to (k+2)a+∑j=0k2(j+1)(j+2)ek−j. The number of sequences of length k+2 with sum 100 is then the number of positive integer solutions to (k+2)a+∑j=0k2(j+1)(j+2)ek−j=100 in a,e0,…,ek.
We can now approximate a count of the total number of solutions by caseworking over the possible values of k. First, we must consider all sequences of length 1 or 2; it is easy to see that there are 1 and 49 of these, respectively. Otherwise, we want to consider the following equations:
x1+3x2+3x3x1+4x2+3x3+6x4x1+5x2+3x3+6x4+10x5x1+6x2+3x3+6x4+10x5+15x6x1+7x2+3x3+6x4+10x5+15x6+21x7x1+8x2+3x3+6x4+10x5+15x6+21x7+28x8=100,=100,=100,=100,=100,=100.
(Any larger values of k will yield equations with no solutions, as the sum of the coefficients will be greater than 100 in all of these.) We can compute the number of solutions to the last equation easily: there are 8. For the remaining 5 equations, we can use the following observation to estimate the number of solutions. Suppose we wanted to count the number of positive integer solutions to
∑i=1kcixi=n, where ci=1. This is equivalent to finding the number of nonnegative integer solutions to ∑i=1kcixi=n−∑i=1kci, which is also equivalent to finding the number of nonnegative integer solutions to ∑i=2kcixi≤n−∑i=1kci. Let n′=n−∑i=1kci. Each xi can take values from 0 to cin′, giving about ∏i=2kci(n′)k−1 choices. Of course, not all of these choices work; we try to estimate the probability that one does. We can think of a random selection of xi as approximated by choosing Xi uniformly from [0,1], then setting xi=Xi⋅cin′. The condition would then be ∑i=2kXk≤1. The probability of this occurring is (k−1)!1, so an approximate number of solutions would be (k−1)!∏i=2kci(n′)k−1. We can use these values to get a lower bound of around 4000, and we can also use n instead of n′′ for a reasonable upper bound of 16000.