A = 4 + 42 + 43 + 44 +...+ 416 + 417
= 4 + ( 42 + 44 ) + ( 43 + 45 ) +...+ (414 + 416 ) + ( 415 + 417 )
= 4 + 42 ( 1 + 42 ) + 43 ( 1 + 42 ) +...+ 414 (1 + 42 ) + 415 ( 1 + 42 )
= 4 + 42 . 17 + 43 . 17 +...+ 414 . 17 + 415 . 17
= 4 + 17 ( 42 + 43 +...+ 414 + 417 )
= 4k + 1
=> A : 17 dư 4