The pattern of two repeats for every four numbers
 
  | 
 24k+1 | 
 24k+2 | 
 24k+3 | 
 24k | 
  | 
21=2 
 | 
 22=4 | 
 23=8 | 
 24=16 | 
  | 
25=32 
 | 
 26=64 | 
 27=128 | 
 28=216 | 
  | 
29=512 
 | 
 210=1024 | 
 211=2048 | 
 212=4096 | 
  | 
 213=8192 
 | 214=16384 | 215=32768 | 216=65536 | 
 2  is  the units digit of   2
1    2
5   2
9    2
13      2
4n+1
 4  is the units digit of   22   26  210    214    24n+2
 8   is the units digit of   23   27  211  215    24n+3
 6   is the units digit of 24  28 212 216    24n