Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Number theory
Reply
 
Thread Tools Display Modes
  #1  
Old August 28th, 2009, 03:08 AM
Senior Member
 
Join Date: Feb 2008
Posts: 321
Country:
Thanks: 4
Thanked 1 Time in 1 Post
szpengchao is on a distinguished road
Default programming for pseudoprime problem



i cant see any connection between hint and the question
Attached Thumbnails
programming-pseudoprime-problem-1.jpg  
Reply With Quote
Advertisement
 
  #2  
Old August 29th, 2009, 04:03 AM
CaptainBlack's Avatar
Grand Panjandrum
 
Join Date: Nov 2005
Location: South of England
Posts: 12,240
Country:
Thanks: 776
Thanked 3,980 Times in 3,212 Posts
CaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond reputeCaptainBlack has a reputation beyond repute
Default

Quote:
Originally Posted by szpengchao View Post


i cant see any connection between hint and the question
You have not got all of the hint. It is warning you that 13^{10^6} will be out of range for the integer type in the programming language you choose, for the range of witness and candidate primes that your algorithm is required to operate over (and I suspect it is also suggesting that you decompose your exponents into binary and compute the powers incrementally modulo p)

CB
__________________
Truth does not change because it is, or is not, believed by a majority of the people.

Giordano Bruno
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 10:02 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.