Position of the first 8 in the decimal expansion of the square root of n, or -1 if 8 never appears.
A124608
Position of the first 8 in the decimal expansion of the square root of n, or -1 if 8 never appears.
Terms
- a(0) =-1a(1) =-1a(2) =19a(3) =8a(4) =-1a(5) =15a(6) =6a(7) =45a(8) =2a(9) =-1a(10) =13a(11) =17a(12) =18a(13) =15a(14) =9a(15) =2a(16) =-1a(17) =20a(18) =9a(19) =4a(20) =20a(21) =3a(22) =11a(23) =5a(24) =2a(25) =-1a(26) =15a(27) =17a(28) =15a(29) =3
External references
- oeis: A124608