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!)
A256233 a(n) = L(2*n+1) - 2, where L is A000032. 2
-1, 2, 9, 27, 74, 197, 519, 1362, 3569, 9347, 24474, 64077, 167759, 439202, 1149849, 3010347, 7881194, 20633237, 54018519, 141422322, 370248449, 969323027, 2537720634, 6643838877, 17393795999, 45537549122, 119218851369, 312119004987, 817138163594 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: (-1+6*x-3*x^2)/((1-x)*(1-3*x+x^2)).
a(n) = 4*a(n-1) - 4*a(n-2) + a(n-3).
a(n) = (-2+(2^(-1-n)*((3-sqrt(5))^n*(-5+sqrt(5))+(3+sqrt(5))^n*(5+sqrt(5))))/sqrt(5)). - Colin Barker, Nov 03 2016
MATHEMATICA
Table[LucasL[n] - 2, {n, 1, 70, 2}] (* or *) LinearRecurrence[{4, -4, 1}, {-1, 2, 9}, 40]
PROG
(Magma) [Lucas(n)-2: n in [1..70 by 2]];
(PARI) Vec((-1+6*x-3*x^2)/((1-x)*(1-3*x+x^2)) + O(x^40)) \\ Colin Barker, Nov 03 2016
(PARI) L(n) = round(((1+sqrt(5))/2)^n + ((1-sqrt(5))/2)^n)
vector(30, n, n--; L(2*n+1)-2) \\ Colin Barker, Nov 03 2016
CROSSREFS
Sequence in context: A153977 A051746 A277240 * A123904 A327612 A019065
KEYWORD
sign,easy
AUTHOR
Vincenzo Librandi, Mar 20 2015
EXTENSIONS
Incorrect comment about A004146 removed by Georg Fischer, Sep 04 2020
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 April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)