18875+12342=
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.
p=12342 x34566+23453
12342 x(34566+1)+11111
p=12342 x34566+23453
12342 x34566+12342 x1+11111
p=23453
12342+11111
p=23453
23453
p=1
P= 12342x34566+23453/12342x(34566+1)+1111
P=12342+34566+23453
12342x34566+12342+1111
P=12342+34566+23453/12342+34566+23453
P=1
\(a,\frac{12345}{12342}=1+\frac{3}{12342}\)
\(\frac{23457}{23455}=1+\frac{2}{23455}\)
Vì \(\frac{3}{12342}>\frac{2}{23455}\Rightarrow\frac{12345}{12342}>\frac{23457}{23455}\)
\(b,\frac{149}{150}=1-\frac{1}{150}\)
\(\frac{4}{11}=1-\frac{7}{11}\)
Vì \(\frac{1}{150}< \frac{7}{11}\Rightarrow\frac{149}{150}>\frac{4}{11}\)
12345/12342 = 1 + 3/12342 = 1 + 1/ 4114 = 1 + 2/8228
23457/23455 = 1 + 2/23455
Có 1 + 2/8228 > 1 + 2/23455 => 12345/12342 > 23457/23455.
149/450 < 150/450 = 1/3
4/11 > 4/12 = 1/3
Vậy 149/450 < 4/11
```pascal
program TimSoNguyenTrongSoN;
uses crt;
procedure TimSoNguyenTrongSoN(n: integer);
var
n_str: string;
so_nguyen_xuat_hien: array of integer;
temp: string;
i, j, so: integer;
begin
n_str := IntToStr(n);
SetLength(so_nguyen_xuat_hien, 0);
for i := 1 to Length(n_str) do
begin
temp := '';
for j := i to Length(n_str) do
begin
temp := temp + n_str[j];
if TryStrToInt(temp, so) then
begin
SetLength(so_nguyen_xuat_hien, Length(so_nguyen_xuat_hien) + 1);
so_nguyen_xuat_hien[Length(so_nguyen_xuat_hien) - 1] := so;
end;
end;
end;
writeln('Cac so nguyen xuat hien trong so ', n, ' la:');
for i := 0 to Length(so_nguyen_xuat_hien) - 1 do
begin
writeln(so_nguyen_xuat_hien[i]);
end;
end;
var
n: integer;
begin
clrscr;
write('Nhap vao so n: ');
readln(n);
TimSoNguyenTrongSoN(n);
readln;
end.
```
a: \(\dfrac{12345}{12342}=1+\dfrac{3}{12342}\)
\(\dfrac{23457}{23454}=1+\dfrac{3}{23454}\)
mà 3/12342>3/23454
nên \(\dfrac{12345}{12342}>\dfrac{23457}{23454}\)
b: \(\dfrac{149}{450}< \dfrac{1}{3}=\dfrac{4}{12}< \dfrac{4}{11}\)
31217
18875 + 12342 = 312117