OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..100
FORMULA
a(n) ~ exp(-1) * 2^(2*n-1) * n^(2*n-1). - Vaclav Kotesovec, Dec 09 2021
EXAMPLE
a(3) = 1 + 3^3 + 5^5 = 3153.
MATHEMATICA
Array[Sum[(2 k - 1)^(2 k - 1), {k, #}] &, 12] (* Michael De Vlieger, Jul 01 2018 *)
Accumulate[#^#&/@Range[1, 25, 2]] (* Harvey P. Dale, Jul 16 2022 *)
PROG
(PARI) { a=n=0; forstep (p=1, 200, 2, write("b061787.txt", n++, " ", a+=p^p) ) } \\ Harry J. Smith, Jul 28 2009
(GAP) List([1..13], n->Sum([1..n], k->(2*k-1)^(2*k-1))); # Muniru A Asiru, Jul 01 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Amarnath Murthy, May 25 2001
EXTENSIONS
Corrected and extended by Jason Earls, May 27 2001
STATUS
approved