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!)
A084096 Fifth row of number array A084061. 4
1, 1, 8, 63, 656, 8525, 133120, 2430547, 50839808, 1199150649, 31495553024, 911770726823, 28846956187648, 990358890251653, 36670756251238400, 1456804472261953275, 61808742217201811456, 2789456491560247772657 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = ((n - sqrt(4))^n + (n + sqrt(4))^n)/2 = ((n+2)^n + (n-2)^n)/2.
MAPLE
seq( ((n-2)^n + (n+2)^n)/2, n=0..20); # G. C. Greubel, Jan 11 2020
MATHEMATICA
Table[((n+2)^n + (n-2)^n)/2, {n, 0, 20}] (* G. C. Greubel, Jan 11 2020 *)
PROG
(PARI) vector(21, n, ((n-3)^(n-1) + (n+1)^(n-1))/2 ) \\ G. C. Greubel, Jan 11 2020
(Magma) [((n-2)^n + (n+2)^n)/2: n in [0..20]]; // G. C. Greubel, Jan 11 2020
(Sage) [((n-2)^n + (n+2)^n)/2 for n in (0..20)] # G. C. Greubel, Jan 11 2020
(GAP) List([0..20], n-> ((n-2)^n + (n+2)^n)/2); # G. C. Greubel, Jan 11 2020
CROSSREFS
Sequence in context: A037205 A302399 A356337 * A361238 A353993 A189943
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 25 01:06 EDT 2024. Contains 371964 sequences. (Running on oeis4.)