|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|