%I #13 Jul 11 2021 07:22:39
%S 4057,8293,10589,11801,11969,12346,12349,12809,17665,17729,19661,
%T 19793,20017,20506,21706,21898,23753,26417,28909,29221,29453,31357,
%U 32237,32429,32693,34781,40538,41885,41957,43273,43565,45145,46786,47057,49477,52357
%N Numbers k such that the continued fraction for sqrt(k) has period 91.
%H Chai Wah Wu, <a href="/A020430/b020430.txt">Table of n, a(n) for n = 1..10000</a>
%o (Python)
%o from sympy import continued_fraction_periodic
%o A020430_list = [n for n, s in ((i, continued_fraction_periodic(0,1,i)[-1]) for i in range(1,10**5)) if isinstance(s, list) and len(s) == 91] # _Chai Wah Wu_, Jun 08 2017
%K nonn
%O 1,1
%A _David W. Wilson_
|