![]() |
|
|
#1651 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
That wasn't what I did before,as far as I can tell. but it is useful in my learning.Once again I spoke a bit too soon,
Last fiddled with by science_man_88 on 2010-11-23 at 20:05 |
|
|
|
|
|
#1652 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Code:
lucaslehmer2(p)= s=4;for(x=1,p-2,s=(s^2-2)%(2^p-1));if(x=p-2 && sumdigits(s)==9,print1(p",")) |
|
|
|
|
|
#1653 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
This is too vague to work with. Perhaps, if you explained this a bit more clearly, I could either help or shoot this "conjecture" to hell, where it likely belongs. Last fiddled with by 3.14159 on 2010-11-23 at 23:12 |
|
|
|
|
|
|
#1654 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#1655 |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
What you posted is too vague. I either need math that explains what you posted, or a clear explanation of whatever it is that you posted, with minimal ambiguity.
Last fiddled with by 3.14159 on 2010-11-23 at 23:21 |
|
|
|
|
|
#1656 |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
It's a lucas-lehmer test as denoted by the title. The main difference between this and the first one is the fact that the test checks to see if sumdigits(last result)==9.
|
|
|
|
|
|
#1657 | |
|
May 2010
Prime hunting commission.
168010 Posts |
Quote:
And, why would the latter part (Digits of.. what?, summing to 9), be necessary? Last fiddled with by 3.14159 on 2010-11-24 at 00:06 |
|
|
|
|
|
|
#1658 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
Why? By following the basic pseudocode on wikipedia I was able to create my own basic Pari script. I'll admit I haven't made the most efficient script but I'm happy with it, Also why do you feel you need to throw me down? To boost yourself up? If so you're sinking like a rock.
|
|
|
|
|
|
#1659 |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
|
|
|
|
|
|
#1660 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Throw you down? When? How? By pointing out that you're seeing "patterns", where there are none? There were no putdowns. It was an observation of mine, and nothing else. A putdown would be something along the lines of, "You're wrong, because you're a damn moron who doesn't have any idea what they're talking about." Last fiddled with by 3.14159 on 2010-11-24 at 00:24 |
|
|
|
|
|
|
#1661 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
You know nothing of a put down or even an attempt there, can't see one for the life of me.
Last fiddled with by science_man_88 on 2010-11-24 at 00:26 |
|
|
|
![]() |
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 |