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!)
A084065 Fourth row of number array A084061. 5
1, 1, 7, 54, 553, 7100, 109863, 1991752, 41426257, 972602640, 25447064743, 734276705888, 23166635069241, 793426715543488, 29316839407495111, 1162492244159875200, 49240280161094287777, 2218952409252783579392 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = ( (n - sqrt(3))^n + (n + sqrt(3))^n )/2.
MAPLE
seq( round(((n-sqrt(3))^n + (n+sqrt(3))^n)/2), n=0..20); # G. C. Greubel, Jan 11 2020
MATHEMATICA
Table[Round[((n+Sqrt[3])^n + (n-Sqrt[3])^n)/2], {n, 0, 20}] (* G. C. Greubel, Jan 11 2020 *)
PROG
(PARI) vector(21, n, round(((n-1-sqrt(3))^(n-1) + (n-1+sqrt(3))^(n-1))/2) ) \\ G. C. Greubel, Jan 11 2020
(Magma) [Round(((n-Sqrt(3))^n + (n+Sqrt(3))^n)/2): n in [0..20]]; // G. C. Greubel, Jan 11 2020
(Sage) [round(((n-sqrt(3))^n + (n+sqrt(3))^n)/2) for n in (0..20)] # G. C. Greubel, Jan 11 2020
(GAP) List([0..20], n-> ((n-Sqrt(3))^n + (n+Sqrt(3))^n)/2); # G. C. Greubel, Jan 11 2020
CROSSREFS
Sequence in context: A291703 A014509 A228415 * A200140 A298104 A289865
KEYWORD
easy,nonn
AUTHOR
Paul Barry, May 11 2003
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 19 15:34 EDT 2024. Contains 371794 sequences. (Running on oeis4.)