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!)
A062810 a(n) = Sum_{i=1..n} i^(n - i) + (n - i)^i. 5
1, 3, 7, 17, 45, 131, 419, 1465, 5561, 22755, 99727, 465537, 2303829, 12037571, 66174411, 381560425, 2301307841, 14483421859, 94909491607, 646309392369, 4565559980989, 33401808977411, 252713264780595, 1974606909857945 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 2 * A026898(n-1) - 1.
a(n) = 2 * A003101(n-1) + 1.
MATHEMATICA
Sum[i^(n - i) + (n - i)^i, {i, 1, n}]
PROG
(PARI) a(n) = sum(i=1, n, i^(n-i) + (n-i)^i); \\ Michel Marcus, Mar 24 2019
CROSSREFS
Sequence in context: A211281 A233656 A106191 * A113985 A309302 A320774
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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)