数学题:组成只能被3整除不能被9整除的4位数
- 时间:2020-06-07 17:53:28
- 分类:数学世界
- 阅读:140 次
数学题:从0、1、2、5、6这几个数字中选出4个,组成只能被3整除不能被9整除的4位数。怎么写?
数学题解答:解答这题首先需要弄清能被3和9整除的数的特征。
能被3带除的数的特征:如果一个数的各个数位上的数字的和能被3整除,那么这个数就能被3整除。
能被9带除的数的特征:如果一个数的各个数位上的数字的和能被9整除,那么这个数就能被9整除。
明白了这一点,就好办了。我们要把挑选的4个数字相加,当和是3的倍数,并且不是9的倍数时,这四个数字便可以用来组成符合“只能被3整除不能被9整除的4位数”要求的四位数。
如果是3的倍数,这个四个数字可以是:0、1、2、6和0、1、5、6。
由于0+1+2+6=9,而9不仅是3的倍数,也是9的倍数,所以被排除。
所以,挑出的四个数字是0、1、5、6。组成的四位数有:6510、6501、6150、6105、6051、6015、5610、5601、5160、5106、5061、5016、1650、1605、1560、1506、1065、1056。
推荐阅读:How to Get Free HTTPS Certificates via acme.sh? Algorithm to Replace All ?’s to Avoid Consecutive Repeatin How Does C++ STL min_element, max_element, minmax_element work f Using the External Fan to Cool the Hot AMD Radeon HD 6700 Graphi Algorithms to Compute the Dot Product of Two Sparse Vectors Algorithms to Compute the Largest Time for Given Digits How to Use Hash Map to Count the Frequencies of Values and Itera Ordered Three 2TB WD HDD to prolong the life expectancy of HPZ80 HPZ800 Server Does Not Support Hard Drives Larger Than 2TB Fresno Blogger Changing The Vegan Blogging Scene
- 评论列表
-
- 添加评论