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