OFFSET
0,3
COMMENTS
Also: a(n) = 2m-1 where m is given by Sum_{i = 1..m } 2*i-1 = n^(2*n) (A062206).
"By setting n=m^p, one sees that m^(2p), an even power of any integer, is equal to the sum of all the odd integers up to and including 2m^p-1;..." - p. 16.
REFERENCES
C. Stanley Ogilvy and John T. Anderson, Excursions in Number Theory, Oxford University Press, 1966, pp. 16-17.
LINKS
Winston de Greef, Table of n, a(n) for n = 0..385
FORMULA
a(n) = A013499(n) - 1 for n>=2. - R. J. Mathar, May 18 2007
E.g.f.: 2/(1 + LambertW(-x)) - exp(x). - Vaclav Kotesovec, Dec 21 2014
EXAMPLE
MATHEMATICA
Table[2n^n-1, {n, 20}] (* Harvey P. Dale, Jul 19 2015 *)
PROG
(PARI) { for (n=1, 100, write("b062207.txt", n, " ", 2*(n^n) - 1) ) } \\ Harry J. Smith, Aug 02 2009
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Jun 13 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org), Jun 15 2001
Definition simplified by M. F. Hasler, Sep 02 2012
a(0)=1 prepended by Alois P. Heinz, Feb 20 2023
STATUS
approved