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.

A031422 Numbers k such that the continued fraction for sqrt(k) has odd period and if the last term of the periodic part is deleted then there are a pair of central terms both equal to 9.

This page as a plain text file.
%I A031422 #17 Aug 18 2021 00:33:16
%S A031422 601,1073,1930,2017,2621,2825,3037,3533,3769,4013,4714,5701,6218,6373,
%T A031422 6689,7013,7757,8461,8825,9197,9277,12629,13394,13621,14081,14549,
%U A031422 15613,15754,18265,18797,20005,20282,20441,21410,22277,22993,23762,24065,24370,25114
%N A031422 Numbers k such that the continued fraction for sqrt(k) has odd period and if the last term of the periodic part is deleted then there are a pair of central terms both equal to 9.
%H A031422 T. D. Noe, <a href="/A031422/b031422.txt">Table of n, a(n) for n = 1..1000</a>
%t A031422 n = 1; t = {}; While[Length[t] < 50, n++; If[! IntegerQ[Sqrt[n]], c = ContinuedFraction[Sqrt[n]]; len = Length[c[[2]]]; If[OddQ[len] && c[[2, (len + 1)/2]] == 9, AppendTo[t, n]]]]; t (* _T. D. Noe_, Apr 04 2014 *)
%Y A031422 Cf. A031404-A031423.
%Y A031422 Subsequence of A003814.
%K A031422 nonn
%O A031422 1,1
%A A031422 _David W. Wilson_
%E A031422 a(1) removed by _T. D. Noe_, Apr 04 2014