Problem:
Let N be the number of ordered triples (A,B,C) of integers satisfying the conditions
(a) 0β€A<B<Cβ€99,
(b) there exist integers a,b, and c, and prime p where 0β€b<a<c<p,
(c) p divides Aβa,Bβb, and Cβc, and
(d) each ordered triple (A,B,C) and each ordered triple (b,a,c) form arithmetic sequences.
Find N.
Solution:
Let d=aβb=cβa. Then there are integers m and n so that npβd= BβA=CβB=mp+2d, implying that 3d=(nβm)p. Note that 2d<p, so 3 cannot divide nβm. It follows that p=3, and (b,a,c)=(0,1,2). Therefore the ordered triples that meet the conditions are precisely those of the form (1+3j,3+3j+3k,5+3j+6k), where jβ₯0,kβ₯0, and j+2kβ€31. Thus
N=k=0β15β(32β2k)=16β
32β2(215β
16β)=272β
The problems on this page are the property of the MAA's American Mathematics Competitions