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

A072967

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

Terms

    a(0) =11a(1) =18a(2) =17a(3) =6a(4) =15a(5) =8a(6) =13a(7) =12a(8) =19a(9) =20a(10) =21a(11) =14a(12) =27a(13) =16a(14) =25a(15) =24a(16) =23a(17) =22a(18) =29a(19) =30a(20) =31a(21) =38a(22) =37a(23) =26a(24) =35a(25) =28a(26) =33a(27) =32a(28) =39a(29) =40

External references