a(n) is the smallest e > 0 such that the initial digit of n^e = 1 in decimal representation.

A098174

a(n) is the smallest e > 0 such that the initial digit of n^e = 1 in decimal representation.

Terms

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

External references