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

A072968

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

Terms

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

External references