File tree Expand file tree Collapse file tree 4 files changed +50
-28
lines changed
Expand file tree Collapse file tree 4 files changed +50
-28
lines changed Original file line number Diff line number Diff line change 22.deploy_heroku /
33node_modules /
44public /
5+ themes /
6+ source /_drafts /
57db.json
68* .log
79.DS_Store
810Thumbs.db
911NOGIT
10- themes /
1112package-lock.json
Original file line number Diff line number Diff line change @@ -496,13 +496,13 @@ math:
496496 every_page : false
497497
498498 mathjax :
499- enable : true
499+ enable : false
500500 tags : ams # none | ams (自动方程编号) | all
501501
502502 katex :
503- enable : false
503+ enable : true
504504 # See: https://github.com/KaTeX/KaTeX/tree/master/contrib/copy-tex
505- copy_tex : false
505+ copy_tex : true
506506
507507# 在您的网站上轻松启用快速Ajax导航.
508508# For more information: https://github.com/next-theme/pjax
@@ -893,3 +893,8 @@ canvas_ribbon:
893893css : css
894894js : js
895895images : images
896+
897+ # config of hexo-renderer-pandoc
898+ pandoc :
899+ args :
900+ - --mathjax
Original file line number Diff line number Diff line change 99 "server" : " hexo server"
1010 },
1111 "hexo" : {
12- "version" : " 6.3.0 "
12+ "version" : " 8.1.1 "
1313 },
1414 "dependencies" : {
15- "hexo" : " ^6.3.0 " ,
15+ "hexo" : " ^8.1.1 " ,
1616 "hexo-deployer-git" : " ^4.0.0" ,
1717 "hexo-generator-archive" : " ^2.0.0" ,
1818 "hexo-generator-category" : " ^2.0.0" ,
1919 "hexo-generator-feed" : " ^3.0.0" ,
2020 "hexo-generator-index2" : " ^0.2.0" ,
21- "hexo-generator-searchdb" : " ^1.4.1 " ,
21+ "hexo-generator-searchdb" : " ^1.5.0 " ,
2222 "hexo-generator-tag" : " ^2.0.0" ,
2323 "hexo-renderer-ejs" : " ^2.0.0" ,
24- "hexo-renderer-pandoc" : " ^0.3.1" ,
25- "hexo-renderer-stylus" : " ^2.1.0" ,
24+ "hexo-renderer-markdown-it-plus" : " ^1.0.6" ,
25+ "hexo-renderer-pandoc" : " ^0.5.0" ,
26+ "hexo-renderer-stylus" : " ^3.0.1" ,
2627 "hexo-server" : " ^3.0.0" ,
27- "hexo-theme-landscape" : " ^0.0.3 " ,
28- "hexo-theme-next" : " ^8.14.2 " ,
29- "jquery" : " ^3.6.3 "
28+ "hexo-theme-landscape" : " ^1.1.0 " ,
29+ "hexo-theme-next" : " ^8.26.0 " ,
30+ "jquery" : " ^3.7.1 "
3031 }
3132}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ title: 快速判断7的倍数
33date : 2021-09-03 16:42:58
44tags :
55categories : [未分类 ]
6- mathjax : true
6+ mathjax : false
77---
88
99
@@ -15,56 +15,71 @@ mathjax: true
1515** 方法一** :掐掉个位再减去掐掉数字的两倍
1616例: 6615
1717
18- $$ \begin{aligned}
18+ ```
19+ $$
20+ \begin{aligned}
1921661 - 2 * 5 &= 651 \\
202265 - 2 * 1 &= 63 \\
21236 - 2 * 3 &= 0 \\
22- \end{aligned} $$
24+ \end{aligned}
25+ $$
26+ ```
2327
2428当然,很明显 ` 63=7*9 ` 。所以当最后的数字是 0 或者是 7 的倍数时,该数可以判定为 7 的倍数;否则不是 7 的倍数。
2529
2630** 方法二** :掐掉后三位再减去掐掉的数字
2731例: 2222640
2832
29- $$ \begin{aligned}
33+ ```
34+ $$
35+ \begin{aligned}
30362222 - 640 &= 1582 \\
31371 - 582 &= -581 \\
32- \end{aligned} $$
38+ \end{aligned}
39+ $$
40+ ```
3341
3442此时再用法一,判断 581 是否为 7 的倍数
35-
36- $$ \begin{aligned}
43+ ```
44+ $$
45+ \begin{aligned}
374658 - 2 * 1 &= 56 \\
38475 - 2 * 6 &= -7 \\
39- \end{aligned} $$
48+ \end{aligned}
49+ $$
50+ ```
4051
4152很明显, ` 56=7*8 ` ,所以 2222640 是 7 的倍数。
4253
4354
4455## 简要分析
4556
4657** 方法一** :假设 $X=10k+a_1$ , ($a_1$ 为个位数),则
47-
48- $$ \begin{equation}
58+ ```
59+ $$
60+ \begin{equation}
4961\begin{aligned}
5062X-21a_1
5163&= (10k + a_1) - 21a_1 \\
5264&= 10k - 20a_1 \\
5365&= 10(k-2a_1) \\
5466\end{aligned}
55- \end{equation} $$
56-
67+ \end{equation}
68+ $$
69+ ```
5770若 $X$ 可以被7整除,则必然有 $ X'=k-2a_1$ 可以被7整除
5871
5972** 方法二** :假设 $X=1000k + a_3$, ($a_3$ 为后三位数),则
60-
61- $$ \begin{equation}
73+ ```
74+ $$
75+ \begin{equation}
6276\begin{aligned}
6377X+k-k
6478&= (1000k + a_3) +k -k \\
6579&= 1001k + a_3 -k \\
6680&= (7*11*13)·k - (k -a_3) \\
6781\end{aligned}
68- \end{equation} $$
69-
82+ \end{equation}
83+ $$
84+ ```
7085若 $X$ 可以被7整除,则必然有 $ X'=k -a_3$ 可以被7整除
You can’t perform that action at this time.
0 commit comments