Position of the first 5 in the decimal expansion of the square root of n, or -1 if 5 never appears.

A124605

Position of the first 5 in the decimal expansion of the square root of n, or -1 if 5 never appears.

Terms

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

External references