Forgot password
 Register account
View 210|Reply 14

[组合] 求275的倍数个数

[Copy link]

423

Threads

909

Posts

0

Reputation

Show all posts

lemondian posted 2025-4-17 11:18 |Read mode
若将数字$1,2,3,5,6,7,8,9$排成一行,所得到的8位数中,是275的倍数的有多少个?

412

Threads

1432

Posts

3

Reputation

Show all posts

realnumber posted 2025-4-17 12:30
搜索一下被11,25整除的数的规律

423

Threads

909

Posts

0

Reputation

Show all posts

original poster lemondian posted 2025-4-17 14:19
realnumber 发表于 2025-4-17 12:30
搜索一下被11,25整除的数的规律
结果是多少?能否写个解答过程供学习一下?
谢谢

Comment

l不想算,尾数为25或75, “奇数位和"与"偶素位和"之差为11的倍数,不会太多的  posted 2025-4-17 18:44
144?  posted 2025-4-17 21:05

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2025-4-17 20:42

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2025-4-17 22:25
(1)`abcdef25`
那就是要 `\{1,3,6,7,8,9\}=\{a,c,e\}\cup\{b,d,f\}` 且 `a+c+e+2-b-d-f-5=\pm11`。
不难列出只有 `\{7,8,9\}\cup\{1,3,6\}` 和 `\{1,3,9\}\cup\{6,7,8\}` 两种;

(2)`abcdef75`
那就是要 `\{1,2,3,6,8,9\}=\{a,c,e\}\cup\{b,d,f\}` 且 `a+c+e+7-b-d-f-5=\pm11`。
不难列出只有 `\{2,8,9\}\cup\{1,3,6\}` 一种。

综上,答案为 `3!\times3!\times3=108`。

mma 验证:
  1. Select[FromDigits /@ Permutations[{1, 2, 3, 5, 6, 7, 8, 9}], Mod[#, 275] == 0 &] // Length
Copy the Code
输出 108

Comment

有没有奇数位的和与偶数位的和之差为0?  posted 2025-4-18 10:03
6个数和是29,不可能等分吧  posted 2025-4-18 10:39

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2025-4-18 13:22
lemondian 点评
有没有奇数位的和与偶数位的和之差为0?
有没有认真看 4# 链接的解法啊,那个差的奇偶性一定是不变的啊

Comment

确实没看明白哩,麻烦你再解析一下  posted 2025-4-20 09:36

423

Threads

909

Posts

0

Reputation

Show all posts

original poster lemondian posted 2025-4-20 10:49
kuing 发表于 2025-4-17 22:25
(1)`abcdef25`
那就是要 `\{1,3,6,7,8,9\}=\{a,c,e\}\cup\{b,d,f\}` 且 `a+c+e+2-b-d-f-5=\pm11`。
不难 ...
我的意思是:在(1)中,如何说明$a+c+e+2-b-d-f-5=0$这种情况不存在?
同样的,在(2)中,如何说明$a+c+e+7-b-d-f-5=0$这种情况不存在?

“差的奇偶性一定是不变”如何说明上面等于0是不存在的呢?----不好意思,没有看懂哩

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2025-4-20 21:33
lemondian 发表于 2025-4-20 10:49
我的意思是:在(1)中,如何说明$a+c+e+2-b-d-f-5=0$这种情况不存在?
同样的,在(2)中,如何说明$a+c+ ...
I Fu 了 U
`F(a,b,c,d,e,f)=a+c+e+2-b-d-f-5`,
`F(a,b,c,d,e,f)-F(b,a,c,d,e,f)=2(a-b)`,
其余类似,即任意交换两数不改变 `F(a,b,c,d,e,f)` 的奇偶性。
现在 `\{1,3,6,7,8,9\}=\{a,c,e\}\cup\{b,d,f\}`,随便取一组来算比如 F(1,3,6,7,8,9) 是奇数,所以 F(a,b,c,d,e,f) 恒为奇数,你觉得奇数会有 0 吗?

673

Threads

110K

Posts

218

Reputation

Show all posts

kuing posted 2025-4-20 21:39
又或者按 realnumber 的点评说的来
`a+c+e+2-b-d-f-5`
`=a+b+c+d+e+f+2+5-2(b+d+f+5)`,
所以奇偶性由所有数字之和决定。
现在 1,2,3,5,6,7,8,9 的和是奇数,所以 `a+c+e+2-b-d-f-5` 恒为奇数。

Comment

看懂了,谢谢了!  posted 2025-4-21 00:08

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-19 05:14 GMT+8

Powered by Discuz!

Processed in 0.013853 seconds, 23 queries