![]() |
![]() |
#12 |
Undefined
"The unspeakable one"
Jun 2006
My evil lair
6,689 Posts |
![]() |
![]() |
![]() |
![]() |
#13 |
If I May
"Chris Halsall"
Sep 2002
Barbados
5×7×317 Posts |
![]() |
![]() |
![]() |
![]() |
#14 |
Sep 2011
Germany
D5E16 Posts |
![]()
There were 2 BOINC Projects in the past Beal@home, BealF@home, nobody knows why they are gone, they had already a working app.
|
![]() |
![]() |
![]() |
#15 | |
Random Account
Aug 2009
Not U. + S.A.
254410 Posts |
![]() Quote:
Yafu can do this, to a point. I tried a few things in the form of ax + by. It is capable of quite large exponentiation. Implementation could be a problem with the comparison. e.g. to cz |
|
![]() |
![]() |
![]() |
#16 |
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest
112×61 Posts |
![]()
Compute ax+by-cz and compare to zero.
Last fiddled with by kriesel on 2022-06-21 at 18:21 |
![]() |
![]() |
![]() |
#17 | |
"Ben"
Feb 2007
2×1,867 Posts |
![]() Quote:
Code:
>> eq(137998080^3+940896^4,1359072^4) ans = 1 >> eq(60000000000000000000^3+70000000000000000000^3,82376613842809255677^3) ans = 0 |
|
![]() |
![]() |
![]() |
#18 | |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
235158 Posts |
![]() Quote:
It is simpler than that, you sum ax + by, then run any implementation of ispower() on the result and ispower() will return 1 or 2 (which is of no use) ... or >2 and only then you have the solution. With the disclaimer that this is just an answer to "your" approach. The real approach is that there are tons of theoretical results on restrictions on what triples are even eligible to start search. Those should be used and that will be 99% of the code. Checking a double for loop with ispower() inside is <1% of the "code". |
|
![]() |
![]() |
![]() |
#19 | |
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
235158 Posts |
![]() Quote:
There were quite a few of such fake "BLABLA@Home" projects. Beware. |
|
![]() |
![]() |
![]() |
#20 | |
If I May
"Chris Halsall"
Sep 2002
Barbados
5·7·317 Posts |
![]() Quote:
A beginner should not start with C++. It can actually be implemented using only macros, and confuses the beginner. Either start with C, and enjoy "all the power, and all the safety features, of a chain saw. Or start with something that holds your hand while you make mistakes. Like Python. Or Rust. Or Go. Or Perl... That's an independant code path (wrapped into an executable). Not a language. |
|
![]() |
![]() |
![]() |
#21 | ||
Random Account
Aug 2009
Not U. + S.A.
1001111100002 Posts |
![]() Quote:
I don't recognize the names Rust and Go. Three years ago, and with some help from a member here, I managed to teach myself enough Perl to be dangerous. I didn't stick with it though. Quote:
What I am using now, I won't mention the name because I don't want to be scoffed at. It has hundreds of libraries which only requires an "include" type statement at the top. One library is called "BigInt." I managed to get it to display something around 21150, more or less. It would not go much beyond that. |
||
![]() |
![]() |
![]() |
#22 | |
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
1166810 Posts |
![]() Quote:
use bigint lib=>'GMP'; And here is how I test for primality of fairly small numbers (up to 1200 digits say) # Primality testing function. # Initial sanity check to see whether Pari/gp is installed and working correctly. my $sc1 = `echo "isprime(1074884750872101952308847649628260864479,2)" | /usr/bin/gp -f -q`; # Known prime. my $sc2 = `echo "isprime(1074884750872101952308847649628260864481,2)" | /usr/bin/gp -f -q`; # Known composite. ($sc1 != 1 or $sc2 != 0) and die "Failed gp sanity check\n"; sub is_prime($) { return `echo "isprime($_[0],2)" | /usr/bin/gp -f -q -s 104857600` == 1; } Scoff at me if you like. The take home message is that it is largely irrelevant what the fancy bits is written in as long as all the computationally intensive work is done with a highly optimized library. |
|
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Beal's conjecture ..........not | Awojobi | Miscellaneous Math | 14 | 2022-04-12 04:56 |
Can we prove Beal conjecture assuming ABC conjecture? | didgogns | Miscellaneous Math | 1 | 2020-08-05 06:51 |
The Beal Conjecture Proof | Arxenar | Miscellaneous Math | 1 | 2013-09-07 09:59 |
Distributed Beal Conjecture Problem | Joshua2 | Math | 54 | 2009-10-19 02:21 |
New Beal Conjecture Search | Joshua2 | Open Projects | 0 | 2009-04-20 06:58 |