OFFSET
1,1
EXAMPLE
The continued fraction for (1+1/5)^5 is [2, 2, 20, 1, 9, 2, 3] and 2+2+20+1+9+2+3=39 hence a(5)=39
PROG
(PARI) for(n=1, 100, print1(sum(i=1, length(contfrac((1+1/n)^n)), component(contfrac((1+1/n)^n), i)), ", "))
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 01 2002
STATUS
approved