2019-01-23-PAT乙级-1007-素数对猜想

2019-01-23-PAT乙级-1007-素数对猜想

github代码地址：HibisciDai/OJ-PAT-ACM

# 算法实现

## 算法分析

$p_{1}$ = 1
$p_{2}$ = 2
$p_{3}$ = 3
$p_{4}$ = 5
$p_{5}$ = 7
$p_{6}$ = 11
$p_{7}$ = 13
$p_{8}$ = 17
$p_{9}$ = 19
$p_{10}$ = 23

$d_{1}$ = $p_{2}$ - $p_{1}$ = 1
$d_{2}$ = $p_{3}$ - $p_{2}$ = 1
$d_{3}$ = $p_{4}$ - $p_{3}$ = 2
$d_{4}$ = $p_{5}$ - $p_{4}$ = 2
$d_{5}$ = $p_{6}$ - $p_{5}$ = 4
$d_{6}$ = $p_{7}$ - $p_{6}$ = 2
$d_{7}$ = $p_{8}$ - $p_{7}$ = 2