Answer: 4050
Put n=2025 and d=10n+3. Let N=am…a2a1 be a multiple of d such that the number of different digits in N is at most two. Then we can assume that a1=0 and clearly m≥n+1 since N≥d. Suppose that 2n>m, and consider A=an…a1 and B=am…an+1. Since d>3×10n−1>3B and d>A we have ∣A−3B∣<d. Moreover, A−3B=N−dB is a multiple of d and so A=3B, or equivalently,
an…a1=3×am…an+1.(0.2)
If an=0 then an+1=a1 since an+1=0 and a1=0. Therefore, a1=5 and 3an+2+1≡a2(mod10) by (0.2). But this is impossible since a2,an+2∈{0,5}. Thus an=0 and so it follows from (0.2) that m=2n−1. Moreover, we have anan−1=3am+c for some digit c. Observe that 1≤an≤2 and 0≤c≤2 since 3B<3×10n−1 and 3×am−1…an+1<3×10n−2.
Assume that an=2. If a1=2 then an+1=4 by (0.2). Hence c=anan−1−3am≥22−3×4=10, a contradiction. If an+1=2 then a1=6 and so c≥22−3×6=4, a contradiction.
Assume that an=1. If an+1=1 then a1=3, hence (0.2) is impossible. If a1=1 then an+1=7, hence c≥11−3×1=8, a contradiction.
Thus m≥2n and so it suffices to show that 2n-digit number 1…11 3…33 is divisible by d:
1…11 3…33=1…11×10n+3…33=1…11×(d−3)+3×1…11≡0(modd).