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

A124602

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

Terms

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

External references