mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2010-10-16, 14:57   #782
chris2be8
 
chris2be8's Avatar
 
Sep 2009

83016 Posts
Default

Quote:
Originally Posted by lorgix View Post
(Planning on learning a programming language, but I don't know which, and where to start. Most of my computing power go into finding factors in GIMPS, but with some programming skills I would branch out.)
What platform are you (windows, Linux, etc)?

If Linux start with a scripting language (eg. Shell scripts, Perl, Python). Once reasonably confident with that learn a compiled language such as C.

To do really serious work you need assembly language. But do NOT try to lean that as your first or second language!

Chris K
chris2be8 is offline   Reply With Quote
Old 2010-10-16, 15:17   #783
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

My main comp, unfortunately, died. It's been taken for repairs. Hopefully these are done soon, so that I may resume business. So, I'm pretty much restricted to small primes.

Let's see. (112393574355618506681^56-2)/7 ?

Primality testing (112393574355618506681^56-2)/7 [N-1, Brillhart-Lehmer-Selfridge]
Running N-1 test using base 3
(112393574355618506681^56-2)/7 is PRP! (0.2023s+0.0125s)

Well.. It's a proven prime to me.

(Passed 90 M-R tests for 90 random bases.)

Last fiddled with by 3.14159 on 2010-10-16 at 15:21
3.14159 is offline   Reply With Quote
Old 2010-10-16, 15:21   #784
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3·5·41 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
What platform are you (windows, Linux, etc)?

If Linux start with a scripting language (eg. Shell scripts, Perl, Python). Once reasonably confident with that learn a compiled language such as C.

To do really serious work you need assembly language. But do NOT try to lean that as your first or second language!

Chris K
Thanks for responding,

This is going OT, and therefore should only continue by PM, or after being made into a new thread.

I'm running Windows XP.

A few years back I used some high-level language (mostly simple Boole terms) to control machinery.

I have also occasionally written simple programs on my TI-84+ calculator.

That's it!

I have felt the need many times.
Simple example related to GIMPS(etc.); I have two simple *.txt lists of numbers that I want to produce a third *.txt list from by applying say XOR, AND, OR... very basic. I can't fix that...

Also, provided source code, I know I need an assembler, but I barely know what that is.

What to do...

Suggestion(s)?

NEW THREAD! --->> http://www.mersenneforum.org/showthread.php?t=14062

Last fiddled with by lorgix on 2010-10-16 at 15:40 Reason: http://www.mersenneforum.org/showthread.php?t=14062
lorgix is offline   Reply With Quote
Old 2010-10-16, 15:22   #785
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24·3·5·7 Posts
Default

Quote:
This is going OT, and therefore should only continue by PM, or after being made into a new thread.
Copy-paste that post into a new thread; Delete that post.

Last fiddled with by 3.14159 on 2010-10-16 at 15:26
3.14159 is offline   Reply With Quote
Old 2010-10-16, 15:27   #786
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3·5·41 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
My main comp, unfortunately, died. It's been taken for repairs. Hopefully these are done soon, so that I may resume business. So, I'm pretty much restricted to small primes.

Let's see. (112393574355618506681^56-2)/7 ?

Primality testing (112393574355618506681^56-2)/7 [N-1, Brillhart-Lehmer-Selfridge]
Running N-1 test using base 3
(112393574355618506681^56-2)/7 is PRP! (0.2023s+0.0125s)

Well.. It's a proven prime to me.

(Passed 90 M-R tests for 90 random bases.)
It's prime alright.

What part of Primos output should I post? I don't know enough about the inner workings of Primo yet.

"
Created=10-16-2010 02:16:53 PM
TestCount=158
Status=Candidate certified prime
"

Obv. doesn't prove anything...
lorgix is offline   Reply With Quote
Old 2010-10-16, 15:31   #787
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

How long did that take?
3.14159 is offline   Reply With Quote
Old 2010-10-16, 15:43   #788
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3×5×41 Posts
Default

Quote:
Originally Posted by 3.14159 View Post
How long did that take?
Well, I ran a bunch of other stuff simultaneously, and tampered with the priority but....

[Running Times]
Initialization=2.93s
1stPhase=1h 12mn 11s
2ndPhase=20mn 1s
Total=1h 32mn 15s
lorgix is offline   Reply With Quote
Old 2010-10-16, 16:41   #789
3.14159
 
3.14159's Avatar
 
May 2010
Prime hunting commission.

24×3×5×7 Posts
Default

19413*9900^1486+1 (5942 digits).

Verification:
Primality testing 19413*9900^1486+1 [N-1, Brillhart-Lehmer-Selfridge]
Running N-1 test using base 7
Special modular reduction using zero-padded FFT length 4K on 19413*9900^1486+1
Calling Brillhart-Lehmer-Selfridge with factored part 34.96%
19413*9900^1486+1 is prime! (3.0440s+0.0010s)
3.14159 is offline   Reply With Quote
Old 2010-10-16, 18:09   #790
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

102538 Posts
Default

Quote:
Originally Posted by lorgix View Post
It's prime alright.

What part of Primos output should I post? I don't know enough about the inner workings of Primo yet.

"
Created=10-16-2010 02:16:53 PM
TestCount=158
Status=Candidate certified prime
"

Obv. doesn't prove anything...
To just report (unverifiably) that the number is prime: what you've already posted is enough. If it was found to be composite, it wouldn't give you that status.
To allow your result to be verified: zip the .out file and attach it here. It can be verified very quickly by another person.
Mini-Geek is offline   Reply With Quote
Old 2010-10-16, 18:16   #791
lorgix
 
lorgix's Avatar
 
Sep 2010
Scandinavia

3×5×41 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
To just report (unverifiably) that the number is prime: what you've already posted is enough. If it was found to be composite, it wouldn't give you that status.
To allow your result to be verified: zip the .out file and attach it here. It can be verified very quickly by another person.
I see.

I'll just try it out for the sake of it.
Attached Files
File Type: zip primo-B336D03103D08-001.zip (75.7 KB, 57 views)
lorgix is offline   Reply With Quote
Old 2010-10-16, 18:22   #792
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

17×251 Posts
Default

Quote:
Originally Posted by lorgix View Post
I see.

I'll just try it out for the sake of it.
I've verified that the number is prime:
Code:
[PRIMO - Task Report]
Version=3.0.7
WebSite=http://www.ellipsa.net/
Task=Verification
ID=B336D02DC5DAD
Created=10/16/2010 01:19:56 PM

[Common]
Path=C:\Files\Prime\Primo\work\
Selected=1
Processed=1
Valid=1
Certificate #1=Valid, 1mn 27s

[Certificate #1]
Input=primo-B336D03103D08-001.out
Status=Valid certificate
Mini-Geek is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime posting thread, part 2. (With a catch.) 3.14159 Miscellaneous Math 55 2010-11-19 23:55
Tiny range request .... 555.1M petrw1 LMH > 100M 1 2010-07-13 15:35
Other primes thread nuggetprime No Prime Left Behind 32 2009-10-21 21:48
Error: tiny factoring failed 10metreh Msieve 26 2009-03-08 23:28
Tiny error on nfsnet pages. antiroach NFSNET Discussion 1 2003-07-08 00:27

All times are UTC. The time now is 08:01.


Fri Aug 6 08:01:23 UTC 2021 up 14 days, 2:30, 1 user, load averages: 2.07, 2.28, 2.39

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.