Let p,q∈N∗, (p,q)=1 so that ca=db=ec=qp. Obviously, p<q. Since a,b and c are divisible by p and c,d,e are divisible by q, there exists m∈N∗ so that c=mpq.
Let us find the minimal value of the difference e−a, for given p,q. This is obtained when a,b,c are consecutive multiples of p and c,d,e are consecutive multiples of q, that is a=mpq−2p and e=mpq+2q. From ec=mpq+2qmpq=qp follows m(q−p)=2, hence m∈{1,2}.
Condition n≤a<e≤2n≤2a implies 2a≥e, that is 2mpq−4p≥mpq+2q, or mpq≥4p+2q. (*)
If m=1, then q−p=2, hence q=p+2. Relation (*) yields (p−2)2≥8, whence p≥5. For p=5 and q=7 we get a=25, b=30, c=35, d=42, e=49 and, since n≤a<e≤2n, n=25.
If m=2, then q−p=1, so q=p+1. Relation (*) yields (p−1)2≥2, whence p≥3. For p=3 and q=4 we get a=18, b=21, c=24, d=28, e=32 and, since n≤a<e≤2n, n∈{16,17,18}. Therefore, nmin=16.