tính A=1*2+2*3+3*4+...+n*(n+1)
Hãy nhập câu hỏi của bạn vào đây, nếu là tài khoản VIP, bạn sẽ được ưu tiên trả lời.
a) 3A=1.2.3 + 2.3.3 + 3.4.3 +... + n.(n+1).3
=1.2.(3-0) + 2.3.(4-1) + ... + n.(n+1).[(n+2)-(n-1)]
=[1.2.3+ 2.3.4 + ...+ (n-1).n.(n+1)+ n.(n+1)(n+2)] - [0.1.2+ 1.2.3 +...+(n-1).n.(n+1)]
=n.(n+1).(n+2)
=>S=[n.(n+1).(n+2)] : 3
a) \(A=\frac{1}{1.2}+\frac{1}{2.3}+...+\frac{1}{n\left(n+1\right)}=1-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+...+\frac{1}{n}-\frac{1}{n+1}=1-\frac{1}{n+1}\)
b) \(B=\frac{1}{1.2.3}+\frac{1}{2.3.4}+...+\frac{1}{n\left(n+1\right)\left(n+2\right)}=\frac{1}{2}\left(\frac{2}{1.2.3}+\frac{2}{2.3.4}+...+\frac{2}{n\left(n+1\right)\left(n+2\right)}\right)\)
\(=\frac{1}{2}.\left(\frac{1}{1.2}-\frac{1}{2.3}+\frac{1}{2.3}-\frac{1}{3.4}+...+\frac{1}{n\left(n+1\right)}-\frac{1}{\left(n+1\right)\left(n+2\right)}\right)=\frac{1}{2}\left(\frac{1}{2}-\frac{1}{\left(n+1\right)\left(n+2\right)}\right)\)
\(=\frac{1}{4}-\frac{1}{2\left(n+1\right)\left(n+2\right)}\)
Câu 6:
uses crt;
var n,i:integer;
begin
clrscr;
readln(n);
for i:=1 to n do
if n mod i=0 then write(i:4);
readln;
end.
5:
uses crt;
var n,i,dem:integer;
begin
clrscr;
readln(n);
dem:=0;
for i:=0 to n do
if i mod 2=1 then
begin
write(i:4);
dem:=dem+1;
end;
writeln;
writeln(dem);
readln;
end.
câu 1
Câu hỏi của Ngọc Hà - Toán lớp 6 - Học toán với OnlineMath
\(A=1.2+2.3+3.4+...+n\left(n+1\right)\)
\(\Rightarrow3A=1.2.3+2.3.3+3.4.3+.....+n\left(n+1\right).3\)
\(=1.2.3+2.3.\left(4-1\right)+3.4.\left(5-2\right)+......+n\left(n+1\right)\left[\left(n+2\right)-\left(n-1\right)\right]\)
\(=1.2.3+2.3.4-1.2.3+......+n\left(n+1\right)\left(n+2\right)-n\left(n-1\right)\left(n+1\right)\)
\(=n\left(n+1\right)\left(n+2\right)\)
\(\Rightarrow A=\frac{n\left(n+1\right)\left(n+2\right)}{3}\)
A = 1.2 + 2.3 + 3.4 + .... + n(n + 1)
=> 3A = 1.2.3 + 2.3.3 + 3.4.3 + .... + n(n + 1).3
=> 3A = 1.2.3 + 2.3.(4 - 1) + 3.4.(5 - 2) + .... + n(n + 1).[(n + 2) - (n- 1)]
=> 3A = 1.2.3 + 2.3.4 - 1.2.3 + 3.4.5 - 2.3.4 + ... + n(n + 1)(n + 2) - (n - 1)n(n + 1)
=> 3A = n(n + 1)(n + 2)
=> A = \(\frac{n\left(n+1\right)\left(n+2\right)}{3}\)