login
A001165
Position of first even digit after decimal point in sqrt(n).
1
1, 1, 3, 1, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 1, 1, 2, 1, 3, 1, 2, 1, 4, 1, 1, 1, 3, 1, 2, 1, 2, 1, 2, 1, 3, 1, 1, 2, 1, 2, 1, 1, 4, 1, 2, 2, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 1, 1, 7, 3, 1, 1, 2, 1, 1, 3, 2, 1, 1, 2
OFFSET
1,3
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000 (corrected by Sean A. Irvine, April 17 2019)
MATHEMATICA
Flatten[Table[First[Position[Rest[RealDigits[Sqrt[n], 10, 20][[1]]], _?(EvenQ[#]&)]], {n, 100}]] (* Harvey P. Dale, Oct 27 2011 *)
CROSSREFS
Sequence in context: A223728 A030596 A031277 * A137420 A134866 A340085
KEYWORD
nonn,base
AUTHOR
STATUS
approved