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.

A048693 Generalized Pellian with 2nd term equal to 6.

This page as a plain text file.
%I A048693 #27 Jun 13 2015 00:50:00
%S A048693 1,6,13,32,77,186,449,1084,2617,6318,15253,36824,88901,214626,518153,
%T A048693 1250932,3020017,7290966,17601949,42494864,102591677,247678218,
%U A048693 597948113,1443574444,3485097001,8413768446
%N A048693 Generalized Pellian with 2nd term equal to 6.
%C A048693 Pisano period lengths: 1, 2, 8, 4, 12, 8, 6, 8, 24, 12, 24, 8, 28, 6, 24, 16, 16, 24, 40, 12, ... (is this A175181?). - _R. J. Mathar_, Aug 10 2012
%H A048693 Tanya Khovanova, <a href="http://www.tanyakhovanova.com/RecursiveSequences/RecursiveSequences.html">Recursive Sequences</a>
%H A048693 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (2,1)
%F A048693 a(n) = 2*a(n-1) + a(n-2); a(0)=1, a(1)=6.
%F A048693 G.f.: (1+4*x)/(1 - 2*x - x^2). - _Philippe Deléham_, Nov 03 2008
%F A048693 a(n) = 4*A000129(n) + A000129(n+1). - _R. J. Mathar_, Aug 10 2012
%e A048693 a(n)=[ (5+sqrt(2))(1+sqrt(2))^n-(5-sqrt(2))(1-sqrt(2))^n ]/2*sqrt(2)
%p A048693 with(combinat): a:=n->4*fibonacci(n-1,2)+fibonacci(n,2): seq(a(n), n=1..26); # _Zerinvary Lajos_, Apr 04 2008
%t A048693 a[n_]:=(MatrixPower[{{1,2},{1,1}},n].{{5},{1}})[[2,1]]; Table[a[n],{n,0,40}] (* _Vladimir Joseph Stephan Orlovsky_, Feb 20 2010 *)
%t A048693 LinearRecurrence[{2,1},{1,6},30] (* _Harvey P. Dale_, Mar 29 2013 *)
%o A048693 (Maxima)
%o A048693 a[0]:1$
%o A048693 a[1]:6$
%o A048693 a[n]:=2*a[n-1]+a[n-2]$
%o A048693 A048693(n):=a[n]$
%o A048693 makelist(A048693(n),n,0,30); /* _Martin Ettl_, Nov 03 2012 */
%Y A048693 Cf. A001333, A000129, A048654, A048655.
%K A048693 easy,nonn
%O A048693 0,2
%A A048693 _Barry E. Williams_