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!)
A062812 a(n) = Sum_{i=1..n} i^(n - i) + (-1)^(n - i)*(n - i)^i. 3
1, 1, 5, 9, 25, 65, 205, 713, 2753, 11425, 50389, 234825, 1155817, 6009153, 32958173, 190115849, 1148816017, 7244099617, 47521750501, 323632894729, 2284774880441, 16702573959489, 126299702576365, 986688266888777 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
MATHEMATICA
Sum[i^(n - i) + (-1)^(n - i)*(n - i)^i, {i, 1, n}]
PROG
(PARI) a(n) = sum(i=1, n, i^(n-i) + (-1)^(n-i)*(n-i)^i); \\ Michel Marcus, Mar 24 2019
CROSSREFS
Sequence in context: A147512 A301960 A050359 * A032499 A112084 A038251
KEYWORD
nonn,easy
AUTHOR
Olivier Gérard, Jun 23 2001
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 14:10 EDT 2024. Contains 371792 sequences. (Running on oeis4.)