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!)
A261540 a(n) = n^7 + 7*n^5 + 14*n^3 + 7*n. 2
0, 29, 478, 4287, 24476, 101785, 337434, 946043, 2333752, 5206581, 10714070, 20633239, 37597908, 65378417, 109216786, 176222355, 275832944, 420346573, 625528782, 911300591, 1302512140, 1829807049, 2530582538, 3450050347, 4642403496, 6172093925, 8115226054 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
Also numbers of the form (n-th metallic mean)^7 - 1/(n-th metallic mean)^7, see link to Wikipedia.
LINKS
Wikipedia, Metallic mean
FORMULA
a(n) = -a(-n) = ( (n+sqrt(n^2+4))/2 )^7 - 1/( (n+sqrt(n^2+4))/2 )^7.
G.f.: x*(29 + 246*x + 1275*x^2 + 1940*x^3 + 1275*x^4 + 246*x^5 + 29*x^6)/(1 - x)^8. - Bruno Berselli, Aug 24 2015
MATHEMATICA
Table[n^7 + 7 n^5 + 14 n^3 + 7 n, {n, 0, 30}] (* Bruno Berselli, Aug 24 2015 *)
LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {0, 29, 478, 4287, 24476, 101785, 337434, 946043}, 30] (* Vincenzo Librandi, Aug 24 2015 *)
PROG
(Sage) [n^7+7*n^5+14*n^3+7*n for n in (0..30)] # Bruno Berselli, Aug 24 2015
(Magma) [n^7 + 7*n^5 + 14*n^3 + 7*n: n in [0..30]]; // Vincenzo Librandi, Aug 24 2015
(PARI) a(n)=n^7+7*n^5+14*n^3+7*n \\ Charles R Greathouse IV, Aug 24 2015
CROSSREFS
Sequence in context: A282925 A022657 A182014 * A173986 A258462 A320550
KEYWORD
nonn,easy
AUTHOR
Raphael Ranna, Aug 24 2015
EXTENSIONS
Offset changed from 1 to 0 and initial 0 added by Bruno Berselli, Aug 25 2015
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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)