# The First 2017 Mega-Prime

The first mega-prime (a prime with at least 1 million digits) of 2017 has been discovered: $543 \times 2^{3351686}+1.$ What digit does it end with (when expressed in base 10)?

×