mersenneforum.org Wacky residuals thread
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

2009-01-07, 12:49   #12
kar_bon

Mar 2006
Germany

2·5·293 Posts

Quote:
 Originally Posted by gd_barnes Here's a question for the higher-math types: Can you reverse engineer a residual? That is: I'll post a residual and people can tell me what test(s) it applies to. I assume that it could apply to an infinite # of tests but the percentage of total tests would be very small. I'm sure if you kept the k-value, base, and n-value relatively small when doing the reverse engineering that it would only apply to just a few possible tests. That would be an interesting question to pose in some sort of "puzzles" forum.
that would be on the other side a crosscheck! get a resudial and say what k/n-pair was tested! a 1-n relation, i think not practicable. but perhaps someone wil do it.

2009-01-07, 13:47   #13
Mini-Geek
Account Deleted

"Tim Sorbera"
Aug 2006
San Antonio, TX USA

4,271 Posts

Quote:
 Originally Posted by gd_barnes Here's a question for the higher-math types: Can you reverse engineer a residual? That is: I'll post a residual and people can tell me what test(s) it applies to. I assume that it could apply to an infinite # of tests but the percentage of total tests would be very small. I'm sure if you kept the k-value, base, and n-value relatively small when doing the reverse engineering that it would only apply to just a few possible tests. That would be an interesting question to pose in some sort of "puzzles" forum.
I think that besides a brute-force, reverse-md5-style attack (like what this site does: http://md5.rednoize.com/ it did a dictionary lookup for many words, and when anybody does an md5 encode, it stores that for reversal), I don't see any way to do this. If there was, wouldn't they do that for residue=0 to find primes more easily?
Quote:
 Originally Posted by kar_bon the command is correct: try: help copy and you got an overview of the parameters. try copy lresults.txt+lresults1.txt+lresults2.txt+lresults13.txt all.txt and all 4 result-files will be copy to one named "all.txt" an easier way: copy *.txt all.txt will copy all *.txt-file in the directory to 'all.txt' done!
The problem is that I have many (dozens, maybe a hundred) lresults files with only four different names in many folders. Unless the *.txt could also be told to do all *.txt in all subfolders, this doesn't help very much.

Last fiddled with by Mini-Geek on 2009-01-07 at 13:48

2009-01-07, 18:23   #14
michaf

Jan 2005

47910 Posts

Quote:
 Originally Posted by Mini-Geek I think that besides a brute-force, reverse-md5-style attack (like what this site does: http://md5.rednoize.com/ it did a dictionary lookup for many words, and when anybody does an md5 encode, it stores that for reversal), I don't see any way to do this. If there was, wouldn't they do that for residue=0 to find primes more easily? The problem is that I have many (dozens, maybe a hundred) lresults files with only four different names in many folders. Unless the *.txt could also be told to do all *.txt in all subfolders, this doesn't help very much.
This is how I prove all the prp-file:

type *prp* > infile

(All files have prp in it,and I need a inputfile for pfgw...)

so in your case: type *.txt > all_in_one_file

(Don't give that last file a .txt extension, as it will recurse...)

Oh, and I think it is impossible to reverse-engineer...it is not the whole residue that is reported.

Last fiddled with by michaf on 2009-01-07 at 18:25

2009-01-07, 18:59   #15
Mini-Geek
Account Deleted

"Tim Sorbera"
Aug 2006
San Antonio, TX USA

4,271 Posts

Quote:
 Originally Posted by michaf This is how I prove all the prp-file: type *prp* > infile (All files have prp in it,and I need a inputfile for pfgw...) so in your case: type *.txt > all_in_one_file (Don't give that last file a .txt extension, as it will recurse...)
Again, this only runs on .txt files in the current directory. I have many lresults files in many subdirectories under one folder. Is there any way to make a command run on all subdirectories? (in case you're wondering, I've tried and it doesn't accept something like *\*.txt as a path)

Last fiddled with by Mini-Geek on 2009-01-07 at 19:01

2009-01-07, 22:45   #16
michaf

Jan 2005

47910 Posts

Quote:
 Originally Posted by Mini-Geek Again, this only runs on .txt files in the current directory. I have many lresults files in many subdirectories under one folder. Is there any way to make a command run on all subdirectories? (in case you're wondering, I've tried and it doesn't accept something like *\*.txt as a path)
Sorry, I did miss that part. What you can do is a search with windows, copy all files to one (new) folder, and then use that type command.

(And most likely, there will be a much easier way, which I overlooked :) )

2009-01-07, 22:55   #17
Mini-Geek
Account Deleted

"Tim Sorbera"
Aug 2006
San Antonio, TX USA

4,271 Posts

Quote:
 Originally Posted by michaf Sorry, I did miss that part. What you can do is a search with windows, copy all files to one (new) folder, and then use that type command. (And most likely, there will be a much easier way, which I overlooked :) )
That would work, except that they're basically all the same file name. (four different file names over about 35 total files to be precise, probably ~3-10 more from when I archived core 2's results in another spot...that's really not too many, but I really dislike doing boring one-by-one manual junk like that, I'd rather find an automatic way of doing it)

2009-01-08, 00:27   #18
MooooMoo
Apprentice Crank

Mar 2006

2×227 Posts

Quote:
 Originally Posted by Flatlander Who can find the longest word? (Or who is going to write a program to find them?)
I found the words beef:

1991*2^337778-1 is not prime. LLR Res64: 18669FB70B4BBEEF Time : 184.279 sec.

fade:

1991*2^298630-1 is not prime. LLR Res64: F3D29BFADE12DE81 Time : 156.921 sec.

and dead:

19*2^1163429-1 is not prime. LLR Res64: B22E9E6C3306DEAD Time : 1791.763 sec.

but nothing longer. That may not be too impressive, so I'll propose a challenge to any animal-rights activists out there: Find me a residue that contains the sequence "BEEF15BAD" (uses the number 15 to represent the word "IS") and I'll stop eating beef for the rest of my life.

The number used to generate that residue (???*?^??? + / - 1) must be at least 10,000 digits long, so no testing of small numbers to produce quick residues.

edit: The sequence must be in the original base-16 residue. No converting to ascii is allowed

Last fiddled with by MooooMoo on 2009-01-08 at 00:28

2009-01-08, 00:44   #19
gd_barnes

May 2007
Kansas; USA

101001011000012 Posts

Quote:
 Originally Posted by Mini-Geek That would work, except that they're basically all the same file name. (four different file names over about 35 total files to be precise, probably ~3-10 more from when I archived core 2's results in another spot...that's really not too many, but I really dislike doing boring one-by-one manual junk like that, I'd rather find an automatic way of doing it)

I know you like automating stuff but in this case, manually renaming/copying/moving or whatever it is you're after for 35 files would only take 10-20 mins.

Unless you will extensively use an automated script in the future (or gain programming knowledge that may be beneficial elsewhere), wouldn't it be better to be bored for a few mins.? lol

You think that's boring, try spending hours deleting hundred of primes posts while keeping some of the more relavent ones to compile interesting info. about. Snooze.

Just my two cents...

Gary

2009-01-08, 00:49   #20
gd_barnes

May 2007
Kansas; USA

1059310 Posts

Quote:
 Originally Posted by MooooMoo I found the words beef: 1991*2^337778-1 is not prime. LLR Res64: 18669FB70B4BBEEF Time : 184.279 sec. fade: 1991*2^298630-1 is not prime. LLR Res64: F3D29BFADE12DE81 Time : 156.921 sec. and dead: 19*2^1163429-1 is not prime. LLR Res64: B22E9E6C3306DEAD Time : 1791.763 sec. but nothing longer. That may not be too impressive, so I'll propose a challenge to any animal-rights activists out there: Find me a residue that contains the sequence "BEEF15BAD" (uses the number 15 to represent the word "IS") and I'll stop eating beef for the rest of my life. The number used to generate that residue (???*?^??? + / - 1) must be at least 10,000 digits long, so no testing of small numbers to produce quick residues. edit: The sequence must be in the original base-16 residue. No converting to ascii is allowed

Nice ones Mike! Very interesting.

So, if we find the "BEEF15BAD" residue, how can we know that you'll hold up your end of the bargain? Unless you're already a vegetarian, that would be quite a life change. (Meee's thinks he may already be a vegetarian so wouldn't be too hard; lol)

You guys have me thinking a little. I may start mulling through my gobs of results in the next few days and see what I come up with. I've personally never deleted any of my own and of course I have many thousands from others.

Gary

Last fiddled with by gd_barnes on 2009-01-08 at 00:50

2009-01-08, 01:04   #21
Mini-Geek
Account Deleted

"Tim Sorbera"
Aug 2006
San Antonio, TX USA

4,271 Posts

By my calculations, there's a 1 in 8589934592 (16^9/8 because there's 16 combinations per character, 9 characters, and 8 positions it can start from in a residue of these lengths; correct me if I'm wrong) chance that any particular residue contains BEEF15BAD. I'd say you're taking a fairly safe bet.
Quote:
 Originally Posted by gd_barnes I know you like automating stuff but in this case, manually renaming/copying/moving or whatever it is you're after for 35 files would only take 10-20 mins. Unless you will extensively use an automated script in the future (or gain programming knowledge that may be beneficial elsewhere), wouldn't it be better to be bored for a few mins.? lol
Yeah, I must admit it'd be better to do it manually. I'll do it sometime. I do dislike it though.
Quote:
 Originally Posted by gd_barnes You think that's boring, try spending hours deleting hundred of primes posts while keeping some of the more relavent ones to compile interesting info. about. Snooze. Just my two cents... Gary

Quote:
 Originally Posted by gd_barnes So, if we find the "BEEF15BAD" residue, how can we know that you'll hold up your end of the bargain? Unless you're already a vegetarian, that would be quite a life change. (Meee's thinks he may already be a vegetarian so wouldn't be too hard; lol)
Keep in mind that he only said he'd give up beef, not all meat. Lamb, bacon/ham/pork, and fish (and probably some exotic meats, but I wouldn't personally know) are rather tasty.

Last fiddled with by Mini-Geek on 2009-01-08 at 01:08

 2009-01-08, 02:44 #22 mdettweiler A Sunny Moo     Aug 2007 USA (GMT-5) 3·2,083 Posts 1055*2^114698-1 is not prime. Res64: 6AA0A60606F35F60 Time : 15.043 sec. This one has a very long stretch of just A's, 6's, and 0's.

 Thread Tools

 Similar Threads Thread Thread Starter Forum Replies Last Post a nicol Miscellaneous Math 21 2017-12-19 11:34 Oddball Lounge 7 2011-04-02 16:59 only_human Lounge 17 2008-07-17 23:58 ewmayer Lounge 2 2007-11-02 04:21 Orgasmic Troll Lounge 2 2003-12-05 12:16

All times are UTC. The time now is 18:44.

Sun Jan 23 18:44:16 UTC 2022 up 184 days, 13:13, 1 user, load averages: 1.02, 1.20, 1.35

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔