OFFSET
1,2
COMMENTS
Also main diagonal of A193871. - Omar E. Pol, Aug 22 2011
REFERENCES
Archimedeans Problems Drive, Eureka, 41 (1981), 7.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
Archimedeans Problems Drive, Problems for 1980, Eureka, 41 (1981), 6-7. (Annotated scanned copy)
J. Burkardt, The Coconut puzzle (version 3)
Santo D'Agostino, “The Coconut Problem”; Updated With Solution, May 2011.
Mark Richardson, A Needlessly Complicated and Unhelpful Solution to Ben Ames Williams' Famous Coconuts Problem, The Winnower, Authorea (2016) Vol. 3.
FORMULA
E.g.f.: 1/(1 + LambertW(-x)) + exp(x)*(1 - x) - 2. - Ilya Gutkovskiy, Oct 30 2017
MATHEMATICA
Table[n^n-n+1, {n, 20}] (* Harvey P. Dale, Jun 09 2011 *)
PROG
(Magma) [n^n - n + 1: n in [1..20]]; // Vincenzo Librandi, Aug 23 2011
(PARI) A006091(n)=n^n-n+1 \\ M. F. Hasler, Oct 30 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved