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.

A010339 Numbers k such that the continued fraction for sqrt(k) has period 9.

This page as a plain text file.
%I A010339 #16 Aug 21 2025 08:30:20
%S A010339 106,113,137,149,265,389,493,610,698,754,970,1037,1258,1418,1450,1586,
%T A010339 1618,1781,1882,1949,2554,2570,2725,3074,3869,4082,4505,4825,5090,
%U A010339 5213,5309,5722,6266,6305,6530,6749,6757,6994,7013,7178,7202,7538,7873,8501,8545,8882
%N A010339 Numbers k such that the continued fraction for sqrt(k) has period 9.
%H A010339 Amiram Eldar, <a href="/A010339/b010339.txt">Table of n, a(n) for n = 1..10000</a>
%t A010339 q[k_] := Module[{c = ContinuedFraction[Sqrt[k]]}, Length[c] == 2 && Length[c[[2]]] == 9]; Select[Range[10000], q] (* _Amiram Eldar_, Aug 21 2025 *)
%K A010339 nonn
%O A010339 1,1
%A A010339 _N. J. A. Sloane_ and Walter Gilbert