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.

A259913 Discriminant of the number field containing the number with periodic continued fraction [1,n,1,n,1,n,...].

This page as a plain text file.
%I A259913 #15 Aug 18 2015 15:39:32
%S A259913 5,12,21,8,5,60,77,24,13,140,165,12,221,28,285,5,357,44,437,120,21,
%T A259913 572,69,168,29,780,93,56,957,1020,1085,8,1221,1292,1365,40,1517,1596,
%U A259913 1677,440,205,1932,2021,33,5,92,2397,156,53,12,2805,728,3021,348,3245
%N A259913 Discriminant of the number field containing the number with periodic continued fraction [1,n,1,n,1,n,...].
%C A259913 a(n) is the first term in row n of the triangle at A259911.
%C A259913 It appears that a(n) = 5 if n is a nonzero term of A004146.
%H A259913 Clark Kimberling, <a href="/A259913/b259913.txt">Table of n, a(n) for n = 1..10000</a>
%e A259913 [1,3,1,3,1,3,...] = (1/6)(3 + sqrt(21)), so that a(3) = 21.
%t A259913 v = Table[FromContinuedFraction[{1, {n, 1}}], {n, 1, 60}];
%t A259913 Flatten[NumberFieldDiscriminant[v]]
%Y A259913 Cf. A259911.
%K A259913 nonn,easy
%O A259913 1,1
%A A259913 _Clark Kimberling_, Jul 20 2015