A142238 Numerators of continued fraction convergents to sqrt(3/2).
1, 5, 11, 49, 109, 485, 1079, 4801, 10681, 47525, 105731, 470449, 1046629, 4656965, 10360559, 46099201, 102558961, 456335045, 1015229051, 4517251249, 10049731549, 44716177445, 99482086439, 442644523201, 984771132841, 4381729054565, 9748229241971
Offset: 0
Examples
The initial convergents are 1, 5/4, 11/9, 49/40, 109/89, 485/396, 1079/881, 4801/3920, 10681/8721, 47525/38804, 105731/86329, ...
Links
- Index entries for linear recurrences with constant coefficients, signature (0,10,0,-1).
Programs
-
Maple
with(numtheory): cf := cfrac (sqrt(3)/sqrt(2),100): [seq(nthnumer(cf,i), i=0..50)]; [seq(nthdenom(cf,i), i=0..50)]; [seq(nthconver(cf,i), i=0..50)];
-
Mathematica
Numerator[Convergents[Sqrt[3/2], 30]] (* Bruno Berselli, Nov 11 2013 *) LinearRecurrence[{0,10,0,-1},{1,5,11,49},30] (* Harvey P. Dale, Dec 30 2017 *)
-
PARI
a(n)=([0,1,0,0; 0,0,1,0; 0,0,0,1; -1,0,10,0]^n*[1;5;11;49])[1,1] \\ Charles R Greathouse IV, Jun 21 2015
Comments