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

Seiichi Manyama, Table of n, a(n) for n = 1..600

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

Cf. A062810, A062811.

Sequence in context: A147512 A301960 A050359 * A032499 A112084 A038251

Adjacent sequences:  A062809 A062810 A062811 * A062813 A062814 A062815

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 August 19 23:59 EDT 2022. Contains 356231 sequences. (Running on oeis4.)