Analyzing the Setup
We begin with the linear equation a+5b=42, where a and b are natural numbers (a,b∈{1,2,3,…}). To find the number of solutions m, we isolate a:
Since a≥1, we apply the constraint:
Because b must be a natural number, the possible values for b are {1,2,3,4,5,6,7,8}. Each value of b yields a unique natural number a, confirming that the set R contains exactly m=8 elements.
The Complex Dance
Next, we evaluate the summation ∑n=18(1−in!). We calculate the terms individually to identify a pattern:
For
n=2:
1−i2!=1−i2=1−(−1)=2
For
n=3:
1−i3!=1−i6=1−(i4⋅i2)=1−(1⋅−1)=2
The Grand Collapse
We observe the behavior of in! for n≥4. Since n! contains the factor 4 for all n≥4, n! is always a multiple of 4.
Recalling that ik=1 whenever k is a multiple of 4, we find that for n∈{4,5,6,7,8}:
The summation simplifies significantly:
Final Calculation
By comparing S=5−i to the form x+iy, we identify the real and imaginary components:
Finally, we compute the requested value m+x+y:
The final result is 12.