If an=22n+1, then for n>1 last digit of an is
5
7
3
4
For n=2,an=24+1=16+1=17. Assume that ak=22k+1=10m+7 where k>1 and m is some positive integer.