View Single Post
Old 2017-03-17, 22:25   #167
Stargate38
 
Stargate38's Avatar
 
"Daniel Jackson"
May 2011
14285714285714285714

28A16 Posts
Exclamation Why am I getting the factorization of a 64-digit number instead of a 61-digit number?

Why does the DB say that this number is 2*324*1918*363889*109912203092239643840221 instead of 2*318*1918*363889*109912203092239643840221? I checked in Pari/gp, and it says this:

Code:
(18:11) gp > factor(3226950014783883023598007090793710151258504258637092076077562)
%1 =
[                       2  1]

[                       3 18]

[                      19 18]

[                  363889  1]

[109912203092239643840221  1]

(18:11) gp > 2*3^18*19^18*363889*109912203092239643840221
%2 = 3226950014783883023598007090793710151258504258637092076077562
(18:17) gp >
Somehow, the db messed up on the power of 3, and reports the factorization of this number instead.

Last fiddled with by Stargate38 on 2017-03-17 at 22:26 Reason: 109912203092239643840221 instead of (19^19-1)/18 for clarity...
Stargate38 is online now   Reply With Quote