mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Computer Science & Computational Number Theory > PARI/GP

Reply
 
Thread Tools
Old 2010-08-16, 16:39   #573
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Not exactly what I said, but cool strawman, anyway.
You claimed that there is no option for storing the information. This seems to directly imply that I could not have stored the information. Combined with the fact that I claimed to have, your claim is tantamount to calling my statement a lie.

So no, not really a strawman at all.
CRGreathouse is offline   Reply With Quote
Old 2010-08-16, 16:54   #574
kar_bon
 
kar_bon's Avatar
 
Mar 2006
Germany

22×727 Posts
Default

Only 2 threads he posted and read more about others and forgot the tiny letter "v" used in several posts to storing information?
kar_bon is offline   Reply With Quote
Old 2010-08-16, 17:05   #575
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

597910 Posts
Default

Quote:
Originally Posted by kar_bon View Post
Only 2 threads he posted and read more about others and forgot the tiny letter "v" used in several posts to storing information?
Yes, or whatever variable you like. An integer suffices, with bitor/bitand/bitxor; a vector is a natural choice; a vectorsmall is better; for space, a custom data structure packing 32 or 64 numbers into each component of a vectorsmall is a better choice.
CRGreathouse is offline   Reply With Quote
Old 2010-08-16, 18:52   #576
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

168010 Posts
Default

Quote:
Originally Posted by CRGreathouse
Yes, or whatever variable you like. An integer suffices, with bitor/bitand/bitxor; a vector is a natural choice; a vectorsmall is better; for space, a custom data structure packing 32 or 64 numbers into each component of a vectorsmall is a better choice.
Excellent. I can only log the removed numbers.

Error in the code snippet:
Code:
***   too many arguments: ...lift(Mod(-1,p)/(e!),10^b,p,print(n)))));
                                                      ^------------
I thought I clearly defined the variables in the code snippet.

Last fiddled with by 3.14159 on 2010-08-16 at 18:58
3.14159 is offline   Reply With Quote
Old 2010-08-16, 20:31   #577
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
I thought of a code snippet:
Note: e = variable, not 2.718281828459045..
kfacsieve(a,x,e,b) = {
forprime(p=a,x,
forstep(n=lift(Mod(-1,p)/(e!),10^b,p,print(n))
);
}


(Please check for any errors I might have made there.)

I think I know what's wrong but I don't quite know what the code should be.

want my help ?

Last fiddled with by science_man_88 on 2010-08-16 at 20:46
science_man_88 is offline   Reply With Quote
Old 2010-08-16, 20:48   #578
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
Originally Posted by science_man_88
I think I know what's wrong but I don't quite know what the code should be.

want my help ?
That would be of great value.

Also: I'm going to do some work on a c120, hopefully this can manage a new record: (It's probably a p(58-59) * p(61-62))

Last fiddled with by 3.14159 on 2010-08-16 at 20:56
3.14159 is offline   Reply With Quote
Old 2010-08-16, 20:52   #579
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
That would be of great value.
look at my post that I colored only one parenthesis isn't in a pair of them fix this into a pair.
science_man_88 is offline   Reply With Quote
Old 2010-08-16, 21:06   #580
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26·131 Posts
Default

in other words you forgot to close the lift function so it read as too many arguments....
science_man_88 is offline   Reply With Quote
Old 2010-08-16, 21:08   #581
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
Originally Posted by science_man_88
in other words you forgot to close the lift function so it read as too many arguments....
Ah, okay. That'll be fixed.

Quote:
Originally Posted by 3.14159
Also: I'm going to do some work on a c120, hopefully this can manage a new record: (It's probably a p(58-59) * p(61-62))
This, I'm going to have to retract. This would have taken me about a month to finish. (Unless I get that damn script working for GGNFS, which I might be able to do if I could find the *correct* directory for msieve.)

Last fiddled with by 3.14159 on 2010-08-16 at 21:17
3.14159 is offline   Reply With Quote
Old 2010-08-16, 21:21   #582
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

838410 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
Ah, okay. That'll be fixed.



This, I'm going to have to retract. This would have taken me about a month to finish. (Unless I get that damn script working for GGNFS, which I might be able to do if I could find the *correct* directory for msieve.)
do you have a search function on your OS if so maybe search "mseive + GGNFS"
science_man_88 is offline   Reply With Quote
Old 2010-08-16, 21:52   #583
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

135338 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
do you have a search function on your OS if so maybe search "mseive + GGNFS"
I think he's on Windows, so he could use Start -> Run -> cmd and type "dir/s c:\ggnfs*" and see what comes up.
CRGreathouse is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I sometimes see all the <> formatting commands when I quote or edit? cheesehead Forum Feedback 3 2013-05-25 12:56
Passing commands to PARI on Windows James Heinrich Software 2 2012-05-13 19:19
Ubiquity commands Mini-Geek Aliquot Sequences 1 2009-09-22 19:33
64-bit Pari? CRGreathouse Software 2 2009-03-13 04:22
Are these commands correct? jasong Linux 2 2007-10-18 23:40

All times are UTC. The time now is 23:02.


Fri Aug 6 23:02:35 UTC 2021 up 14 days, 17:31, 1 user, load averages: 3.38, 3.93, 3.95

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.