a+b
算下前6项\(1+\sqrt{5},-\frac{1}{\sqrt{5}},\frac{1}{4} \left(5-\sqrt{5}\right),1+\sqrt{5},-\frac{1}{\sqrt{5}},\frac{1}{4} \left(5-\sqrt{5}\right)\)
后面步骤你应当会了。 谢谢
(*https://bbs.emath.ac.cn/thread-9736-1-2.html*)
Clear["Global`*"];(*Clear all variables*)
a=Sqrt+1
list={a}
Do;list=Append,{k,59}]
aa=Total@list
bb=Times@@list
cc=FullSimplify
表是
\[\left\{\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}},\sqrt{5}+1,-\frac{1}{\sqrt{5}},\frac{1}{1+\frac{1}{\sqrt{5}}}\right\}\]
求和结果是
\
求积的结果是
\
两者的和是
\ Sqrt+1//NestList[(1-#)^-1&,#,59]&//(Plus@@#)+(Times@@#)&//Simplify
页:
[1]