[QUOTE=science_man_88;478006]That the residues mod some mersenne in the LL test, are quadratic residues mod the next mersenne.
Reason I think this to be true: Sqr(A*p+b)= A^2(p^2)+ b^2(1^2)b mod 2p+1 and two parts of that simplify to quadratic residues. Failure would only happen if the sums/ differences of quadratic residues wasn't a quadratic residue ( guess I may be wrong).[/QUOTE] 1 is a quadratic residue but 2 is a quadratic nonresidue mod 3. 
[QUOTE=CRGreathouse;478570]1 is a quadratic residue but 2 is a quadratic nonresidue mod 3.[/QUOTE]
Yeah, I messed up the sqr to begin with. It was mostly to find a tranform between residues mod different mersennes. 
Superpermutations
[YOUTUBE]wJGE4aEWc28[/YOUTUBE]
Still can't believe the lowest number of instruction needed to have all permutations of n instructions present in a code isn't well known. 
[QUOTE=science_man_88;478952]Still can't believe the lowest number of instruction needed to have all permutations of n instructions present in a code isn't well known.[/QUOTE]
True, but the bounds are pretty tight: n! + (n1)! + (n2)! + n3 <= [url=https://oeis.org/A180632]A180632[/url](n) <= n! + (n1)! + ... + 2! + 1!. 
[QUOTE=CRGreathouse;478967]True, but the bounds are pretty tight: n! + (n1)! + (n2)! + n3 <= [url=https://oeis.org/A180632]A180632[/url](n) <= n! + (n1)! + ... + 2! + 1!.[/QUOTE]
I see why it's so hard, just annoying. It's hard to brute force when options for endpoint pairs grow by a factor of n^2. 
[QUOTE=science_man_88;479026]I see why it's so hard, just annoying. It's hard to brute force when options for endpoint pairs grow by a factor of n^2.[/QUOTE]
Sure. When you have [$$]n^{n! + (n1)! + (n2)! + n3}[/$$] possibilities to check in the best case, it's hard to reduce the options to something reasonable. Googol to the sixth power and all that. 
[QUOTE=CRGreathouse;479030]Sure. When you have
[$$]n^{n! + (n1)! + (n2)! + n3}[/$$] possibilities to check in the best case, it's hard to reduce the options to something reasonable. Googol to the sixth power and all that.[/QUOTE] I do see ways to cut down the number to search. Because, you can use symmetries picking (a,b) and (b',a') where apostrophies mean reversed permutations, will not change much at the same length, it can in theory reverse the superpermutation. 
[QUOTE=science_man_88;479034]I do see ways to cut down the number to search. Because, you can use symmetries picking (a,b) and (b',a') where apostrophies mean reversed permutations, will not change much at the same length, it can in theory reverse the superpermutation.[/QUOTE]
That cuts it down to a little more than [$$]n^{n! + (n1)! + (n2)! + n3}/2.[/$$] You can do better: reassign the variables so the first one you use is 1, the first one you use other than that is 2, and so on. This cuts it to about [$$]n^{n! + (n1)! + (n2)! + n3}/n! \approx n^{n! + (n1)! + (n2)!  3}.[/$$] But these numbers are huge, we need to do much, much better. 
[QUOTE=CRGreathouse;479049]That cuts it down to a little more than
[$$]n^{n! + (n1)! + (n2)! + n3}/2.[/$$] You can do better: reassign the variables so the first one you use is 1, the first one you use other than that is 2, and so on. This cuts it to about [$$]n^{n! + (n1)! + (n2)! + n3}/n! \approx n^{n! + (n1)! + (n2)!  3}.[/$$] But these numbers are huge, we need to do much, much better.[/QUOTE] Only patterns I see is that when the current lengths known n<6 are divided by 3 we get 1 mod 4, 3 mod 4, 1 mod 4, 3 mod 4. Wonder if that holds. 
At least we can use derangement math to show as n gets larger about 37% of orderings will have at least 1 permutaion placed correctly.

[YOUTUBE]5SfXqTENV_Q[/YOUTUBE]. Not sure it wouldn't be solved already, I found a solution for the equation for n=14 just take the coeffcients on 1001 to add to 391 Mod 432 and the coefficient on 432 is 906 mod 1001.

All times are UTC. The time now is 03:07. 
Powered by vBulletin® Version 3.8.11
Copyright ©2000  2021, Jelsoft Enterprises Ltd.