cho n so nguyen a1;a2;a3;.....;an . biet rang a1a2+ a3a4+ .....+ ana1=0. hoi n co the bang 2017 ko?
Cac bn giai ra giup mk nhe!!!!!!
vct nhap vao so nguyen N va day a1,a2...aN. kiem tra xem day A co bao nhieu so nguyen duong
Var
i,d,n :integer;
a:array[1..100] of integer;
begin
readln(n);
for i:=1 to n do
readln(a[i]);
for i:=1 to n do
if a[i]>0 then d:=d+1;
write('mang A co :',d,'so nguyen duong');
readln
end.
cho day {aN} gom so nguyen a1,a2,...,aN(3<=N<=10000).so lon nhat co gia tri tuyet doi ko vuot qua 1000
cho 7 so nguyen a1;a2;...;a7.Viet cac so nguyen do theo 1 thu tu khac duoc b1;b2;b3;...;b7. c/m rang tich so (a1-b1).(a2-b2)...(a7-b7) chia het cho 2
cho n so nguyen a1;a2;a3;a4;..........;an biet rang a1a2+a2a3+.....+an a1=0 hoi n co the bang 2018 khong
cho 20 so nguyen a1,a2,a3,...,a20 khac 0 thoa man ,a1>0 va tong cua 3 so lien nhau bat ki la so duong va tong 20 so da cho la so am chung minh rang a1*a14+a12*a14<a1*a12
sai đề : phải là: a1.a14+a14.a12<a1.a12 nếu thế thì giải như sau
Ta có : a1 + (a2 + a3 + a4) + … + (a11 + a12 + a13) + a14 + (a15 + a16 + a17) + (a18 + a19 + a20) < 0 ; a1 > 0 ; a2 + a3 + a4 > 0 ; … ; a11 + a12 + a13 > 0 ; a15 + a16 + a17 > 0 ; a18 + a19 + a20 > 0 => a20 < 0.
Cũng như vậy : (a1 + a2 + a3) + … + (a10 + a11 + a12) + (a13 + a14) + (a15 + a16 + a17) + (a18 + a19 + a20) < 0 => a13 + a14 < 0.
Mặt khác, a12 + a13 + a14 > 0 => a12 > 0.
Từ các điều kiện a1 > 0 ; a12 > 0 ; a14 < 0 => a1.a14 + a14a12 < a1.a12 [dpcm]
cho n so nguyen a1;a2;a3;a4.....an biet rang a1a2+a2a3+a3a4=.....ana1=0 hoi n co the la 2018 khong
Cho 12 so deu la so nguyen to(a1,a2,...,a12), chung minh rang:
(a1-a2)(a3-a4)(a5+a6) chia het cho 1800
cho 5 so nguyen phan biet a1,a2,a3,a4,a5.Xet tich:P=(a1-a2)*(a1-a3)*(a1-a4)*(a1-a5)*(a2-a3)*(a2-a4)*(a2-a5)*(a3-a4)*(a3-a5)*(a4-a5).Chung minh P chia het cho 288
CHO 20 SO NGUYEN KHAC 0 : a1;a2;a3;a4;a5;a6;...;a20 CO CAC TINH CHAT SAU :a1 LA SO DUONG ;TONG 3 SO LIEN TIEP BAT KI LA SO DUONG ; TONG 20 SO LA 1 S AM .CHUNG TO a1 LA SO AM ; a3 LA SO DUONG