We need to find the number of Gaussian integers z=a+ib (with a,b∈Z) such that 1<∣z−3+2i∣<4.
This means 1<∣(a−3)+i(b+2)∣<4, i.e.:
1<(a−3)2+(b+2)2<4
1<(a−3)2+(b+2)2<16
Let u=a−3,v=b+2. We need integer pairs (u,v) with 1<u2+v2<16, so u2+v2∈{2,3,4,5,6,7,8,9,10,11,12,13,14,15}.
Total lattice points with u2+v2<16: we enumerate for u2+v2≤15.
For each value of u2+v2:
u2+v2=0: (0,0) — 1 point
u2+v2=1: (±1,0),(0,±1) — 4 points
u2+v2=2: (±1,±1) — 4 points
u2+v2=4: (±2,0),(0,±2) — 4 points
u2+v2=5: (±1,±2),(±2,±1) — 8 points
u2+v2=8: (±2,±2) — 4 points
u2+v2=9: (±3,0),(0,±3) — 4 points
u2+v2=10: (±1,±3),(±3,±1) — 8 points
u2+v2=13: (±2,±3),(±3,±2) — 8 points
Values u2+v2=3,6,7,11,12,14,15: no integer solutions (can be verified).
Total with u2+v2<16: 1+4+4+4+8+4+4+8+8=45
Exclude u2+v2≤1: 1+4=5 points.
Answer: 45−5=40
Hence the answer is 40.