![]() |
|
|
#45 | |
|
Aug 2006
176416 Posts |
Quote:
Code:
\\ Set local precision, then compute normally. Uses 9 guard digits. N1(N)=localprec(logint(N,10)\2 + 9); floor(2*sqrt(.333 * N)) \\ Only integer operations are used, so precision is not an issue. N1(N)=sqrtint(333*N\250) \\ Set precision like \p 100 before calling this version. \\ If not enough precision is used, an error will be produced. N1(N)=floor(2*sqrt(.333 * N)) |
|
|
|
|
|
|
#46 | |
|
May 2016
A316 Posts |
Quote:
For this i have the solution : this source code written in C language (Super_number) , modifying the code.... http://www.corradodamiano.it/supernu...upernumeri.htm . |
|
|
|
|
|
|
#47 |
|
Aug 2006
598810 Posts |
At a glance that seems like an inefficient, homegrown bignum library. (I had one of those in college.) But that doesn't really address the core problem. Your factorization algorithm is too slow even at 64 bits where you don't need any bignum library at all.
|
|
|
|
|
|
#48 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
114018 Posts |
Quote:
O il programma yafu, disponibile su sourceforge. |
|
|
|
|
|
|
#49 | |
|
May 2016
16310 Posts |
Quote:
Ho chiesto sul sito iprogrammatori.it proprio oggi e appunto come dici tu bisogna saper programmare un programma ad hoc. Io sinceramente riuscirei solo ad implementare quello postato sul link e non con poche difficoltà. ---EDIT--- and trying with the Turing machine Z program ?? Link files : https://github.com/adamyedidia/parsimony , and Link Video Tutorial : https://www.youtube.com/watch?v=Rt_SfOkk0YM and Link Video Explanation : https://www.youtube.com/watch?v=QtO8EWwggx4 . Last fiddled with by Godzilla on 2017-02-04 at 15:22 |
|
|
|
|
|
|
#50 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
5·7·139 Posts |
Quote:
Considera anche un ripasso della teoria della complessità: ti permetterà di comprendere meglio in che modo "contare" le operazioni necessarie al completamento di un task, e di come l'esecuzione delle operazioni sia legata al tempo da funzioni diverse (logaritmica, lineare, polinomiale o esponenziale). The problem here is on the lack of technical specifications about your algorithm: once you describe the algorithm in function of what you do (and why the result is correct), programming it will be easy. Also consider studying some complexity theory: it will explain you better how to count operations and how operations are related to time by a function that can be logarithmic, linear, polynomial or exponential. |
|
|
|
|
|
|
#51 |
|
May 2015
716 Posts |
Can you guys bring back Silverman? He was great on threads like this.
|
|
|
|
|
|
#52 |
|
Romulan Interpreter
"name field"
Jun 2011
Thailand
41·251 Posts |
|
|
|
|
|
|
#53 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2·3·1,693 Posts |
This thread most likely would not have made it past the first page, and that page would be blood-spattered.
|
|
|
|
|
|
#54 | |
|
May 2016
163 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "Quadratic time factorization" patent | mickfrancis | Factoring | 5 | 2015-02-17 14:27 |
| Decrease in activity? | 10metreh | Aliquot Sequences | 8 | 2010-07-15 14:49 |
| New LLT formula | hoca | Math | 7 | 2007-03-05 17:41 |
| results.txt - Prime95 didn't record time for factorization | ixfd64 | Software | 1 | 2006-03-30 13:39 |
| Does the LL test:s factorization save or waste CPU time? | svempasnake | Software | 42 | 2002-10-24 19:27 |