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.

A155666 a(n) = 9^n - 8^n + 1.

This page as a plain text file.
%I A155666 #20 Aug 03 2024 16:56:37
%S A155666 1,2,18,218,2466,26282,269298,2685818,26269506,253202762,2413042578,
%T A155666 22791125018,213710059746,1992110014442,18478745943858,
%U A155666 170706760005818,1571545212141186,14425381885981322,132080236787517138,1206736529597136218,11004743954450081826,100195617094657583402
%N A155666 a(n) = 9^n - 8^n + 1.
%H A155666 Paolo Xausa, <a href="/A155666/b155666.txt">Table of n, a(n) for n = 0..1000</a>
%H A155666 <a href="/index/Rec#order_03">Index entries for linear recurrences with constant coefficients</a>, signature (18,-89,72).
%F A155666 G.f.: 1/(1-9*x)-1/(1-8*x)+1/(1-x).
%F A155666 E.g.f.: exp(9*x)-exp(8*x)+exp(x).
%F A155666 a(n) = 17*a(n-1)-72*a(n-2)+56 with a(0) = 1, a(1) = 2. - _Vincenzo Librandi_, Jul 21 2010
%t A155666 Table[9^n-8^n+1,{n,0,20}] (* or *) LinearRecurrence[{18,-89,72},{1,2,18},20] (* _Harvey P. Dale_, Aug 16 2015 *)
%o A155666 (PARI) a(n)=9^n-8^n+1 \\ _Charles R Greathouse IV_, Jun 11 2015
%Y A155666 Cf. A155646, A155647, A155648, A155649, A155650, A155651, A155652, A155653, A155654, A155655, A155656, A155657, A155658, A155659, A155660, A155661, A155662, A155663, A155664, A155665.
%K A155666 nonn,easy
%O A155666 0,2
%A A155666 _Mohammad K. Azarian_, Jan 31 2009