login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A321358 a(n) = (2*4^n + 7)/3. 2
3, 5, 13, 45, 173, 685, 2733, 10925, 43693, 174765, 699053, 2796205, 11184813, 44739245, 178956973, 715827885, 2863311533, 11453246125, 45812984493, 183251937965, 733007751853, 2932031007405, 11728124029613, 46912496118445, 187649984473773, 750599937895085, 3002399751580333 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Difference table:

3,  5, 13,  45,  173,  685,  2733, ...   (this sequence)

2,  8, 32, 128,  512, 2048,  8192, ...    A004171

6, 24, 96, 384, 1536, 6144, 24576, ...    A002023

LINKS

Colin Barker, Table of n, a(n) for n = 0..1000

Index entries for linear recurrences with constant coefficients, signature (5,-4).

FORMULA

O.g.f.: (3 - 10*x) / ((1 - x)*(1 - 4*x)). - Colin Barker, Nov 10 2018

E.g.f.: (1/3)*(7*exp(x) + 2*exp(4*x)). - Stefano Spezia, Nov 10 2018

a(n) = 5*a(n-1) - 4*a(n-2), a(0) = 3, a(1) = 5.

a(n) = 4*a(n-1) - 7, a(0) = 3.

a(n) = (2/3)*(4^n-1)/3 + 3.

a(n) = A171382(2*n) = A155980(2*n+2).

a(n) = A193579(n)/3.

a(n) = A007583(n) + 2 = A001045(2*n+1) + 2.

MATHEMATICA

a[n_]:= (2*4^n + 7)/3; Array[a, 20, 0] (* or *)

CoefficientList[Series[1/3 (7 E^x + 2 E^(4 x)), {x, 0, 20}], x]*Table[n!, {n, 0, 20}] (* Stefano Spezia, Nov 10 2018 *)

PROG

(PARI) a(n) = (2*4^n + 7)/3; \\ Michel Marcus, Nov 08 2018

(PARI) Vec((3 - 10*x) / ((1 - x)*(1 - 4*x)) + O(x^30)) \\ Colin Barker, Nov 10 2018

CROSSREFS

Cf. A010701, A010727, A020988, A083594, A002023, A004171, A155980, A171382, A193579.

Sequence in context: A236068 A057188 A128548 * A113606 A209002 A106879

Adjacent sequences:  A321355 A321356 A321357 * A321359 A321360 A321361

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Nov 07 2018

EXTENSIONS

More terms from Michel Marcus, Nov 08 2018

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 January 22 16:37 EST 2020. Contains 331152 sequences. (Running on oeis4.)