cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A001165 Position of first even digit after decimal point in sqrt(n).

This page as a plain text file.
%I A001165 #17 Apr 17 2019 10:07:54
%S A001165 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,
%T A001165 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,
%U A001165 2,2,1,1,2,1,1,7,3,1,1,2,1,1,3,2,1,1,2
%N A001165 Position of first even digit after decimal point in sqrt(n).
%H A001165 T. D. Noe, <a href="/A001165/b001165.txt">Table of n, a(n) for n = 1..1000</a> (corrected by Sean A. Irvine, April 17 2019)
%t A001165 Flatten[Table[First[Position[Rest[RealDigits[Sqrt[n],10,20][[1]]], _?(EvenQ[#]&)]],{n,100}]] (* _Harvey P. Dale_, Oct 27 2011 *)
%K A001165 nonn,base
%O A001165 1,3
%A A001165 _Howard Givner_