login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A198397 7^n - 7*n. 2
1, 0, 35, 322, 2373, 16772, 117607, 823494, 5764745, 40353544, 282475179, 1977326666, 13841287117, 96889010316, 678223072751, 4747561509838, 33232930569489, 232630513987088, 1628413597910323, 11398895185373010, 79792266297611861 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (9,-15,7).

FORMULA

a(n) = 9*a(n-1)-15*a(n-2)+7*a(n-3) for n>2.

G.f.: (1 - 9*x + 50*x^2)/((1 - 7*x)*(1 -x)^2). - Vincenzo Librandi, Jan 04 2013

MATHEMATICA

CoefficientList[Series[(1 - 9*x + 50*x^2)/((1 - 7*x)*(1 -x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *)

PROG

(MAGMA) [7^n-7*n: n in [0..25]];

(PARI) a(n)=7^n-7*n \\ Charles R Greathouse IV, Jul 06 2017

CROSSREFS

Cf. A005803, A107583, A107584, A107585.

Sequence in context: A219711 A055658 A125773 * A071697 A220924 A220995

Adjacent sequences:  A198394 A198395 A198396 * A198398 A198399 A198400

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Oct 26 2011

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 17 04:58 EDT 2019. Contains 327119 sequences. (Running on oeis4.)