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!)
A320570 a(n) = L_n(n), where L_n(x) is the Lucas polynomial. 1
2, 1, 6, 36, 322, 3775, 54758, 946043, 18957314, 432083484, 11035502502, 312119004989, 9682664443202, 326872340718053, 11928306344169798, 467875943531657100, 19629328849962024962, 877095358067166709187, 41583555684469161804998, 2084882704791413248133431 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Eric Weisstein's World of Mathematics, Lucas Polynomial
FORMULA
a(n) = ((n + sqrt(n^2 + 4))^n + (n - sqrt(n^2 + 4))^n)/2^n.
MATHEMATICA
Table[LucasL[n, n], {n, 0, 19}] (* or *)
Table[Round[((n + Sqrt[n^2 + 4])^n + (n - Sqrt[n^2 + 4])^n)/2^n], {n, 0, 19}] (* Round is equivalent to FullSimplify here *)
PROG
(PARI) for(n=0, 20, print1(if(n==0, 2, sum(j=0, floor(n/2), (n/(n-j))*((n-j)!*n^(n-2*j)/(j!*(n-2*j)!)))), ", ")) \\ G. C. Greubel, Oct 15 2018
(Magma) [2] cat [(&+[(n/(n-j))*(Factorial(n-j)*n^(n-2*j)/(Factorial(j)*Factorial(n-2*j))): j in [0..Floor(n/2)]]): n in [1..20]]; // G. C. Greubel, Oct 15 2018
CROSSREFS
Main diagonal of A352362.
Sequence in context: A318918 A100404 A355005 * A300911 A347899 A365750
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 20 21:47 EDT 2024. Contains 372720 sequences. (Running on oeis4.)