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.

A198796 3*6^n-1.

This page as a plain text file.
%I A198796 #18 Apr 30 2025 21:04:32
%S A198796 2,17,107,647,3887,23327,139967,839807,5038847,30233087,181398527,
%T A198796 1088391167,6530347007,39182082047,235092492287,1410554953727,
%U A198796 8463329722367,50779978334207,304679870005247,1828079220031487
%N A198796 3*6^n-1.
%H A198796 Vincenzo Librandi, <a href="/A198796/b198796.txt">Table of n, a(n) for n = 0..1000</a>
%H A198796 <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (7,-6).
%F A198796 a(n) = 6*a(n-1)+5. a(n) = 7*a(n-1)-6*a(n-2), n>1.
%F A198796 G.f.: ( 2+3*x ) / ( (6*x-1)*(x-1) ). - _R. J. Mathar_, Oct 30 2011
%t A198796 Table[3*6^n-1,{n,0,30}] (* or *) LinearRecurrence[{7,-6},{2,17},30] (* _Harvey P. Dale_, May 22 2016 *)
%o A198796 (Magma) [3*6^n-1: n in [0..30]];
%K A198796 nonn,easy
%O A198796 0,1
%A A198796 _Vincenzo Librandi_, Oct 30 2011