Mathcenter Forum

Mathcenter Forum (https://www.mathcenter.net/forum/index.php)
-   ทฤษฎีจำนวน (https://www.mathcenter.net/forum/forumdisplay.php?f=19)
-   -   หาเศษครับผม (https://www.mathcenter.net/forum/showthread.php?t=23175)

Math_indy 12 มีนาคม 2016 21:03

หาเศษครับผม
 
จงหาเศษเหลือจากการหาร 2^5+2^15+2^25+2^35....+2^2015 ด้วย 1,023 เท่ากับเท่าใหร่?
ทำไม่ได้ซักทีครับ :confused::unsure::please::p:p

gon 12 มีนาคม 2016 22:47

อ้างอิง:

ข้อความเดิมเขียนโดยคุณ Math_indy (ข้อความที่ 181124)
จงหาเศษเหลือจากการหาร $2^1+2^{15}+2^{25}+2^{35}....+2^{2015}$ ด้วย 1,023 เท่ากับเท่าใหร่?
ทำไม่ได้ซักทีครับ :confused::unsure::please::p:p

ใช้ $2^{10} = 1024 \equiv 1 \mod 1023$ ได้หรือเปล่าครับ. :unsure:

Thamma 13 มีนาคม 2016 07:17

โจทย์น่าจะเป็นแบบนี้นะคะ

$ 2^5 + 2^{15} + 2^{25} + ... + 2^{2015} $


ohmohm 13 มีนาคม 2016 22:46

เมื่อ mod หมายถึงการหารเอาเศษ, k เป็นจำนวนนับ
$(2^{10k+5}) mod (2^{10}-1) $
$= ((2^{10k} mod (2^{10}-1))(2^{5} mod (2^{10}-1)))mod (2^{10}-1)$
$= ((((2^{10} mod (2^{10}-1))^{k})mod (2^{10}-1))(2^{5}))mod (2^{10}-1)$
$= (((1)^{k})(32))mod (2^{10}-1)$
$= 32 mod (2^{10}-1)$
$= 32$

Math_indy 14 มีนาคม 2016 07:56

ขอขอบคุณทุกคนครับ :)
ปล.โจทย์ผิดจริงๆครับตัวแรกต้องเป็น 2^5

computer 14 มีนาคม 2016 17:52

อย่างงี้ได้ปะคะ

$2^{10k}\equiv 1 \,(mod \,1023)$

$2^5+2^{15}+...+2^{2015}=2^5(1+2^{10}+2^{20}+...+2^{2010}) \equiv 32(\underbrace{1+1+...+1}_{202}) \equiv 32(202) \equiv 326\, (mod \,1023)$


เวลาที่แสดงทั้งหมด เป็นเวลาที่ประเทศไทย (GMT +7) ขณะนี้เป็นเวลา 03:31

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Modified by Jetsada Karnpracha