Solution: Day 2, problem 3
We define a map ϕ:Hom(P,Z) to P by assigning to a homomorphism
f:P→Z the sequence (λ1,λ2,...) with λn=f(0,...,0,1,0,...) (1 in the nth place). We must show that ϕ is injective and that its image is exactly S. Suppose that ϕ(f)=0. Then f vanishes on any finite sequence (i.e. on the subgroup S of P). Let x=(x1,x2,...) be an arbitrary element of P and define a decomposition x=a+b by writing xn=an+bn with 2n∣an,3n∣bn. Then for each positive integer n the sequence a differs by a finite sequence from a sequence divisible by 2n, so f(a) must be divisible by 2n for every n and hence must vanish. Similarly f(b)=0, so f(x)=f(a)+f(b) also vanishes. This proves that ϕ is injective.
Clearly S⊆ Im(φ), since a sequence (λ1,λ2,...) with almost all λn equal to 0 is the image under ϕ of the homomorphism (a1,a2,...)↦∑λnan from P to Z.
To show the reverse inclusion, let f be in Hom(P,Z) and λn=f(0,...,0,1,0,...)(n≥1). We must show that almost allλn vanish. Assume not, and define a=(a1,a2,...) where each an is of the form ± 2sn with the sign chosen so that λnan≥0 and the exponent so that 2sn>21+sn−1∣λn∣. Then f(a)∈Z is congruent modulo 2sn+1 to 2s1∣λ1∣+...+2sn∣rn∣, and the binary expansion (in standard form, with all coefficients 0 or 1) of this is the concatenation of the binary expansions of λ1,...,λn, with 0 interspersed. Taking the 2 - adic limit of this statement as n→∞ gives a contradiction, since f(a) is an ordinary integer and hence has a (standard) binary expansion consisting of all 0's or all 1's from some point onwards.