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

A072970

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

External references