login
A071597
Sum of elements in the simple continued fraction for (1+1/n)^n.
0
2, 6, 10, 16, 39, 47, 48, 77, 69, 228, 153, 237, 142, 121, 295, 300, 203, 423, 281, 341, 274, 700, 703, 410, 729, 642, 838, 1051, 577, 619, 443, 451, 605, 537, 531, 1123, 997, 2537, 805, 1192, 1312, 1255, 1037, 1074, 938, 888, 859, 907, 1233, 1212, 3627, 1120
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
Sequence in context: A254829 A030511 A351635 * A100899 A099540 A190695
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 01 2002
STATUS
approved