Răspuns :
n:24=c1 rest 17
n=M₂₄ +17
n:48=c2 rest 17
n=M₄₈ +17
n:40=c3 rest 17
n=M₄₀ +17
n=[M₂₄;M₄₈;M₄₀]+17
n-cel mai mic
24=2³ *3
48=2⁴ * 3
40= 2³ *5
[24;48;40]= 2⁴ *3 * 5 =16*15=240
n=240+17= 257
n=M₂₄ +17
n:48=c2 rest 17
n=M₄₈ +17
n:40=c3 rest 17
n=M₄₀ +17
n=[M₂₄;M₄₈;M₄₀]+17
n-cel mai mic
24=2³ *3
48=2⁴ * 3
40= 2³ *5
[24;48;40]= 2⁴ *3 * 5 =16*15=240
n=240+17= 257
Numarul cautat este cmmmc (24; 48; 40) + 17
24 = 2³ × 3
48 = 2⁴ × 3
40 = 2³ × 5
cmmmc + 17 = 2⁴ × 3 × 5 + 17 = 240 + 17 = 257
Proba:
257 : 24 = 10 rest 17
257 : 48 = 5 rest 17
257 : 40 = 6 rest17
24 = 2³ × 3
48 = 2⁴ × 3
40 = 2³ × 5
cmmmc + 17 = 2⁴ × 3 × 5 + 17 = 240 + 17 = 257
Proba:
257 : 24 = 10 rest 17
257 : 48 = 5 rest 17
257 : 40 = 6 rest17