The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A144414 a(n) = 2*(4^n - 1)/3 - n. 5
1, 8, 39, 166, 677, 2724, 10915, 43682, 174753, 699040, 2796191, 11184798, 44739229, 178956956, 715827867, 2863311514, 11453246105, 45812984472, 183251937943, 733007751830, 2932031007381, 11728124029588, 46912496118419 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A142458(n+1,n).
a(n) = A020988(n) - n. - R. J. Mathar, Nov 21 2008
G.f.: x*(1+2*x)/((1-x)^2*(1-4*x)). - Colin Barker, Jan 11 2012
a(1)=1, a(2)=8, a(3)=39, a(n) = 6*a(n-1) - 9*a(n-2) + 4*a(n-3). - Harvey P. Dale, Mar 17 2015
E.g.f.: (1/3)*(-2 - 3*x + 2*exp(x))*exp(x). - G. C. Greubel, Mar 28 2021
MATHEMATICA
Table[2(4^n-1)/3 -n, {n, 30}] (* or *) LinearRecurrence[{6, -9, 4}, {1, 8, 39}, 30] (* Harvey P. Dale, Mar 17 2015 *)
PROG
(Magma) [(2^(2*n+1) -3*n -2)/3: n in [1..50]]; // G. C. Greubel, Mar 28 2021
(Sage) [(2^(2*n+1) -3*n -2)/3 for n in (1..50)] # G. C. Greubel, Mar 28 2021
CROSSREFS
Sequence in context: A134415 A097787 A215731 * A045909 A264091 A353211
KEYWORD
nonn
AUTHOR
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 29 00:29 EDT 2024. Contains 372921 sequences. (Running on oeis4.)