If the set \[R=\{(a, b): a+5 b=42, a, b \in \mathbb{N}\}\] has m elements and \[\sum_\limits{n=1}^m\left(1-i^{n !}\right)=x+i y\], where \[i=\sqrt{-1}\], then the value of m+x+y is
Solutions · 1
Official solution
\[R=\{(a, b): a+5 b=42\}\]
Then \[R=\{(2,8),(7,7),(12,6),(17,5),(22,4),(27, 3),(32,2),(37,1)\}\]
\[ and n=1∑m=8(1−in!)=x+iy∴n=1∑8(1−in!)=8−(i+i2+i6+1+1+1+1+1)=5−i∴x=5,y=−1x+y+m=5−1+8=12\]