筁祘い计Τ基

ま

讽ир计ぃ耞舼獽穦玻ネ笵计ョΤ计厩產癸计讽い计跑てΤ砍届

и 3n + 1瞦稱い 2005 ㄒ

2005 => 3008 => 1504 => 752 => 376 => 188 => 94 => 47 => 71 => 107 =>

161 => 242 => 121 => 182 => 91 => 137 => 206 => 103 => 155 => 233 =>

350 => 175 => 263 => 395 => 593 => 890 => 445 => 668 => 334 => 167 =>

251 => 377 => 566 => 283 => 425 => 638 => 319 => 479 => 719 => 1079 =>

1619 => 2429 => 3644 => 1822 => 911 => 1367 => 2051 => 3077 => 4616 => 2308 =>

1154 => 577 => 866 => 433 =>650 => 325 => 488 => 244 => 122 => 61 =>

92 => 46 => 23 => 35 => 53 => 80 => 40 => 20 => 10 => 5 =>

8 => 4 => 2 => 1

计患糤计

и笵讽い计Τ糤ョΤ搭ぶ璝赣计琌案计杠琌ゲ礛ゑㄓぶτ计计玥﹚ゑㄓ礛τ计㎝瞷计玥礚ゲ礛闽玒琌Τ计厩產р计い案计埃

2005 => 47 => 71 => 107 => 161 => 121 => 91 => 137 => 103 => 155 =>

233 => 175 => 263 => 395 => 593 => 445 => 167 => 251 => 377 => 283 =>

425 => 319 => 479 => 719 => 1079 => 1619 => 2429 => 911 => 1367 => 2051 =>

3077 => 577 => 433 => 325 => 61 => 23 => 35 => 53 => 5 => 1

讽いиぃ螟тㄇ患糤计计 319 => 479 => 719 => 1079 => 1619 => 2429 の 175 => 263 => 395 => 593 单┏硂贺计Τ㎡琌ぃ琌ヴ计患糤计

氮﹚璸衡獽惧

砞俱计 n = a * 2k - 1ㄤい a 计 k > 1玥 n ョ计

珿跑传穝

(3n + 1) / 2

= [3 *( a * 2k - 1) + 1] / 2

= [3a * 2k - 3 + 1] / 2

= [3a * 2k - 2] / 2

= 3a * 2k - 1 - 1

计计讽 k - 1 > 0 璝Ω跑传珿璝琘计Τ 2  5Ωよ玥ㄤ玻ネ 4 Ω跑传硈玥Τ5 患糤计パ k ヴ種珿ヴ種计患糤计

は崩筁祘

セ刚瓜р┮Τ计计糶ㄓΤㄇ祇瞷

1 <= 5 <= 3

1 <= 5 <= 13 <= 17 <= 11 <= 7 <= 9

1 <= 5 <= 13 <= 17 <= 11 <= 7 <= 37 <= 49 <= 65 <= 43 <= 57

1<= 21

1<= 85 <= 113 <= 75

硂ㄠ糶ㄤい场よ猭琌 1 は崩簍 5 ┪ 21 竒筁跑传计琌 1 9 跑传琌 7 

и┮Τ 3 计⊿猭崩琌弧ぃ穦Τ计竒筁跑传穦跑Θ 3 计计

虏虫璝赣计 3 计ㄤ计琌 3 计ぃ穦琌 3N + 1 

璝琘计 n = 3k + 1 玥ㄤ崩计 (4n - 1) / 3璝琘计 n = 3k + 2玥ㄤ崩计 (2n - 1) / 3

琘计 n 竒筁跑传Θ k玥 4n + 1 Τ妓挡狦 5, 21, 85 穦跑Θ 1 ㄤ龟 4 * 85 + 1 = 341 琌妓

硂ㄇ挡阶癸靡瞦稱ゼゲΤノ度妮甌и獺 5n + 1 ┪ 7n + 1 柑ぃ琌硂或虏虫は崩┪计ぇ丁丁玒穦狡馒