{0,1,2} (mod3)
2^1=2
2^2=2・2=1
2^3=1・2=2 (n^3=n)
===================================
{0,1,2,3} (mod4)
2^1=2
2^2=2・2=0
2^3=0
3^1=3
3^2=3・3=9=1
3^3=1・3=3 (n^3=n)
===================================
{0,1,2,3,4} (mod5)
2^1=2
2^2=2・2=4
2^3=4・2=3
2^4=3・2=1
2^5=1・2=2 (n^5=n)
3^1=3
3^2=3・3=9=4
3^3=4・3=2
3^4=2・3=1
3^5=1・3=3 (n^5=n)
===================================
{0,1,2,3,4,5} (mod6)
2^1=2
2^2=2・2=4
2^3=4・3=2 (n^3=n)
3^1=3
3^2=3・3=9=1
3^3=1・3=3 (n^3=n)
===================================
{0,1,2,3,4,5,6} (mod7)
2^5=32=4
2^6=4・2=1
2^7=1・2=2 (n^3=n)
3^4=81=4
3^5=4・3=12=5
3^6=5・3=15=1
3^7=1・3=3 (n^3=n)
===================================
{0,1,2,3,4,5,6,7} (mod8)
2^2=4
2^3=8=0
3^2=9=1
3^3=1・3=3 (n^3=n)
===================================
{0,1,2,3,4,5,6,7,8} (mod9)
2^2=4
2^3=8
2^4=8・2=7
2^5=7・2=5
2^6=5・2=1
2^7=1・2=2 (n^7=n)
3^2=9=0
===================================
{0,1,2,3,4,5,6,7,8,9} (mod10)
2^5=32=2 (n^5=n)
3^4=81=1
3^5=1・3=3 (n^5=n)
===================================