Least k > 0 such that the last digit of k^n is the same as the last digit of n^k.

A072969

Least k > 0 such that the last digit of k^n is the same as the last digit of n^k.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =2a(4) =5a(5) =4a(6) =7a(7) =4a(8) =9a(9) =10a(10) =1a(11) =4a(12) =7a(13) =4a(14) =5a(15) =2a(16) =3a(17) =2a(18) =9a(19) =10a(20) =1a(21) =2a(22) =3a(23) =2a(24) =5a(25) =4a(26) =7a(27) =4a(28) =9a(29) =10

External references