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.
%I A085447 #38 Jan 17 2023 18:29:31 %S A085447 2,6,38,234,1442,8886,54758,337434,2079362,12813606,78960998, %T A085447 486579594,2998438562,18477210966,113861704358,701647437114, %U A085447 4323746327042,26644125399366,164188498723238,1011775117738794 %N A085447 a(n) = 6*a(n-1) + a(n-2), starting with a(0)=2 and a(1)=6. %C A085447 a(n+1)/a(n) converges to 3 + sqrt 10. %C A085447 a(0)/a(1) = 1/3 = [3]; a(1)/a(2) = 6/38 = [6,3]; a(2)/a(3) = 38/234 = [6,6,3], a(3)/a(4) = 234/1442 = [6,6,6,3]; a(4)/a(5) = 1442/8886 = [6,6,6,6,3];...etc. Lim a(n)/a(n+1) as n approaches infinity = 0.1622776...= 1/(3 + sqrt10) = sqrt(10) - 3. %H A085447 Vincenzo Librandi, <a href="/A085447/b085447.txt">Table of n, a(n) for n = 0..1000</a> %H A085447 P. Bhadouria, D. Jhala, B. Singh, <a href="http://dx.doi.org/10.22436/jmcs.08.01.07">Binomial Transforms of the k-Lucas Sequences and its Properties</a>, The Journal of Mathematics and Computer Science (JMCS), Volume 8, Issue 1, Pages 81-92; sequence L_{6,n} %H A085447 Tanya Khovanova, <a href="http://www.tanyakhovanova.com/RecursiveSequences/RecursiveSequences.html">Recursive Sequences</a> %H A085447 <a href="/index/Rea#recur1">Index entries for recurrences a(n) = k*a(n - 1) +/- a(n - 2)</a> %H A085447 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (6,1). %F A085447 a(n) = (3 + sqrt 10)^n + (3 - sqrt 10)^n = A005668(n+1) + A005668(n-1). %F A085447 O.g.f.: 2*(-1+3*x)/(-1+6*x+x^2). - _R. J. Mathar_, Dec 02 2007 %F A085447 a(n) = 2*A005667(n). - _R. J. Mathar_, Nov 10 2013 %e A085447 a(4) = 6*a(3)+a(2) = 6*234+38 = 1442. %t A085447 RecurrenceTable[{a[0] == 2, a[1] == 6, a[n] == 6 a[n-1] + a[n-2]}, a, {n, 30}] (* _Vincenzo Librandi_, Sep 19 2016 *) %t A085447 LinearRecurrence[{6,1}, {2,6}, 30] (* _G. C. Greubel_, Nov 07 2018 *) %o A085447 (Magma) I:=[2,6]; [n le 2 select I[n] else 6*Self(n-1)+Self(n-2): n in [1..30]]; // _Vincenzo Librandi_, Sep 19 2016 %o A085447 (PARI) x='x+O('x^30); Vec(2*(1-3*x)/(1-6*x-x^2)) \\ _G. C. Greubel_, Nov 07 2018 %Y A085447 Cf. A005667, A005668. %K A085447 nonn,easy %O A085447 0,1 %A A085447 _Gary W. Adamson_, Jul 01 2003 %E A085447 Edited and extended by _Henry Bottomley_, Jul 13 2003