2966,2975,2970,有其他答案嗎?
有三組4位數,M ,N ,K
三組4位數之值由1000至9999之間
M和N之千位百位相同,
如將M分解為(A+1)(B+2)(C+3)(D+4)=K
如將N分解為(A+1)(B+2)(E+3)(F+4)=K
問M,N,K三組4位數之值為何?
ie 2966,2975,2970
有其他答案嗎?
回答 (1)
✔ 最佳答案
假設問題也要求K的千位百位相同
窮舉法得答案如下:
M = 1388, N=1397, K=1320
M = 1478, N=1496, K=1440
M = 1568, N=1595, K=1512
M = 1577, N=1586, K=1540
M = 1758, N=1794, K=1728
M = 1767, N=1785, K=1782
M = 1866, N=1875, K=1800
M = 1957, N=1984, K=1936
M = 1966, N=1975, K=1980
M = 2578, N=2596, K=2520
M = 2677, N=2686, K=2640
M = 2858, N=2894, K=2880
M = 2957, N=2984, K=2904
M = 2966, N=2975, K=2970
M = 3858, N=3894, K=3840
M = 3966, N=3975, K=3960
M = 4858, N=4894, K=4800
M = 4966, N=4975, K=4950
M = 5588, N=5597, K=5544
M = 5966, N=5975, K=5940
M = 6966, N=6975, K=6930
M = 7678, N=7696, K=7680
M = 7768, N=7795, K=7776
M = 7966, N=7975, K=7920
M = 8678, N=8696, K=8640
M = 8768, N=8795, K=8748
M = 8966, N=8975, K=8910
M = 9678, N=9696, K=9600
M = 9768, N=9795, K=9720
M = 9966, N=9975, K=9900
如K的千位百位不必相同,則答案太多了。
參考: Exhausted with a simple excel script
收錄日期: 2021-04-23 18:26:20
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20100717000051KK00821
檢視 Wayback Machine 備份