{ Fifth Day ("Sequences")}
The solutions of these problems are somewhat longer and I only give highlights.
1. The sequence \{tn\}n starts 1, 1, 1, 1, 1, 2, 3, 5, 11, 37, 83, \dots It is required to show that
all of the tn are integral. The proof comes from the theory of elliptic curves, and can be expressed
either in terms of the denominators of the coordinates of the multiples of a particular point on a
particular elliptic curves, or in terms of special values of certain Jacobi theta functions. In the
first version, one computes the point nP + T on the elliptic curve E:\,y(x + y) = x(x - 1)(x + 2), where
T is the 2 - torsion point (0,0) and P is the point of infinite order (2,2); this has the form
(xn,yn) where the exact denominators of xn and yn are tn2 and tn3, respectively, for
some integer tn, and the rules of computation on elliptic curves lead to the given recursion for the t's.
I'll omit the analysis, indicating instead two ways that one could be led to find this solution.
The first is algebraic.
Dividing the recursion tnt{n + 5} = t{n + 1}t{n + 4} + t{n + 2}t{n + 3} by t{n + 1}t{n + 4} gives the simpler
recursion wnw{n + 2} = 1 + 1/w{n + 1} for the numbers wn: = t{n + 3}tn/t{n + 1}t{n + 2}. This says that the seqence of
pairs (X,Y) = (wn,w{n + 1}) is generated from the initial value (X,Y) = (1,1) by
(X,Y)\mapsto(Y,(1 + Y{ - 1})/X). A picture shows that these points (wn,w{n + 1}) all lie on a curve, which is
then easily found to be given by the equation (XY - 1)(5 - X - Y) = 6. This is a curve of genus~1 which is isomorphic to
the above E via (x,y) = \bigl(2\frac{X + Y - 2}{Y + X - 5},\,2\frac{Y - 2X + 1}{X + Y - 5}\bigr).
The other method is more analytic: one computes the
first few (in my case, 300) terms tn numerically, studies their numerical growth, and tries to fit this data
by a nice analytic expression. One quickly finds that the growth is roughly exponential in n2, but with
some slow fluctuations around this and also with a dependency on the parity of n. This suggests trying the Ansatz
tn = C\pm BnA{n2}, where ( - 1)n = \pm1.
This is easily seen to give a solution to our recursion if A is the root of A{12} = A4 + 1, and the numerical value
A\approx 1.07283 does indeed give a reasonably good fit to the data, but eventually fails more and more thoroughly.
Looking more carefully, we try the same Ansatz but with C\pm replaced by a function C\pm(n) which lies between
fixed limits but is almost periodic in n, and this works, but with a new value A\approx1.07425. (The coefficient
C\pm(n) in fact depends on the position of the point (wn,w{n + 1}) on the above - mentioned curve (XY - 1)(5 - X - Y) = 6.)
Expanding the function C\pm(n) numerically into
a Fourier series, we discover that it is a Jacobi theta function, and since theta functions (or quotients of them) are
elliptic functions, this leads quickly to elliptic curves and to the above curve E.
By the way, by varying the coefficients in the recursion for the tn one can replace the above (E,P) by essentially
any elliptic curve over \Bbb Q and any rational point on it, so that in an elementary course in number theory one could
develop (or at least introduce) the entire theory of elliptic curves just by starting with these simple recursions!
2. The sequence \{un\}n starts \frac54, \frac{51}{14}, \frac{277}{20}, \frac{1497}{26}.
\frac{4045}{16}, \dots It is required to show that the first integral un is u{2755452}\approx 10{2019025}\,.
The first step is to note that the numbers Un = (6n + 2)un satisfy the recursion relation
U{n + 3} = Un + 2U{n + 1} + 5U{n + 2} (the proof is elementary and I omit it) and hence are all integral.
One must thus show that the congruence Un\equiv0\pmod{6n + 2} holds for n0 = 2755452 and
for no smaller value of n. (To find the approximate size of u{n0} is then easy since the
explicit solution of the recursion gives Un\sim ABn with A = 1.75487766624669276 ... , B = 5.40431358073618481197 ... .)
Again the detailed proof is complicated and I skip it, mentioning only that this is in the same category as the problem of finding
pseudoprimes (for instance, a 2 - pseudoprime is a composite integer n for which the nubmer 2{n - 1}\equiv1\pmod n, and this is
a similar condition to the integrality of un since the numbers 2{n - 1} - 1 satisfy a linear recursion T{n + 2} = 3T{n + 1} - 2Tn
similar to that of the Un) and can be analyzed by studying the splitting behavior of the cubic polynomial X3 - 5X2 - 2X - 1
modulo varying primes.
3. The sequence \{vn\}n starts 2, 3, 5, 10, 28, 154, 3520, 1551880, 267593772160, 7160642690122633501504, \dots
It is required to show that the first non - integral vn is v{43}\approx 5.4093\times10{178485291567}\,. Again, the only problem is
to show that the first index n0 with v{n0}\notin\Z is n0 = 43, since the size of v{n0} then follows from the
easily proved formula vn\sim(n2 + 2n - 1 + 4n{ - 1} - 21n{ - 2} + 137n{ - 3} - \dots)\times C{2n} with
C = 1.04783144757641122955990946274313755459\dots. We first replace vn by sn = 2 + v12 + ... + v{n - 1}2 = nvn. Then
the recursion becomes s{n + 1} = sn = sn2/n2 with initial condition s1 = 2. Let us look at one prime p at a time. The
first sn which could fail to be p - integral is s{p + 1}, which will happen if and only if sp is not divisible
by p, so we can test this by looking at the sequence \{s1,s2, ... ,sp\} modulo p. This is an easy
calculation since the numbers sj (mod p) do not grow, and we find with a couple of minutes on a computer
that sp\equiv0\pmod p for each prime p<43 but not for 43. (Note that this calculation cannot be done directly
since no computer can compute or store the sn's for n bigger than about 22.) This proves that v{43} is
not integral (it has a denominator divisible by 43), and that vp is at least p - integral for p less than 43;
to check that vn is actually integral for n <= 42 we must only compute the sequence sn modulo quite modest
powers of primes less than 43, and this is easily done on the computer. The real question is why the congruence
sp\equiv0\pmod p holds for all primes less than 43, since naively one would think that its probability of
holding for even one prime p is about 1/p, which is quite small. But in fact its probability of holding for
a given p is quite large, since in the recursion for the sn, if any sn with n 2 mod p then all of the following sn are 0 mod p, and the chance of this happening can be
expected to be about 63\%; also, this argument holds for any initial value s1, and the value s1 = 2 has been
chosen to make the first few primes behave.
\end