mersenneforum.org  

Go Back   mersenneforum.org > Math Stuff > Computer Science & Computational Number Theory > PARI/GP

Reply
 
Thread Tools
Old 2010-08-13, 15:15   #375
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

So what are 3*1, 3*4, and 3*7 mod 9? You're almost there.
CRGreathouse is offline   Reply With Quote
Old 2010-08-13, 15:17   #376
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
So what are 3*1, 3*4, and 3*7 mod 9? You're almost there.
they all come back to 3 so assuming my idea is correct the first column must always be 3 hence we can map it through the diagonals and get the modulo for the Mersenne primes to come.

though why multiply them in the next in the row they cover almost all the same range.

Last fiddled with by science_man_88 on 2010-08-13 at 15:19
science_man_88 is offline   Reply With Quote
Old 2010-08-13, 15:29   #377
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

20C016 Posts
Default

the hard part is how to map it accurately without knowing it.
science_man_88 is offline   Reply With Quote
Old 2010-08-13, 15:33   #378
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
they all come back to 3 so assuming my idea is correct the first column must always be 3
Right. This is a proof that the first column is always 3 where it exists. (We don't know if there are infinitely many rows because we don't know if there are infinitely many Mersenne primes.)

Quote:
Originally Posted by science_man_88 View Post
hence we can map it through the diagonals and get the modulo for the Mersenne primes to come.
You can't tell anything about future Mersenne primes because no matter what they are, you'll get a 3. Right?
CRGreathouse is offline   Reply With Quote
Old 2010-08-13, 15:34   #379
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
Ah, I think I have it. Together with my above code take
Code:
ProdK(k)=k--;vector(#A43-k,i,prod(j=0,k,drMersenne(A43[i+j]))%9)
which gives the digital roots of the product of k consecutive Mersenne numbers. So ProdK(1) gives A135928(n), ProdK(2) gives A010888(A165223(n)), etc.

Then you have
you say Mersenne numbers ... any other patterns in it if it is for Mersenne primes such that it would help predict modulo ?

Last fiddled with by science_man_88 on 2010-08-13 at 15:37
science_man_88 is offline   Reply With Quote
Old 2010-08-13, 15:49   #380
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

203008 Posts
Default

can this be turned into a triangle by turning it 45 degrees ?

I see more weird things in the diagonals that would become rows of this triangle not saying they tell much lol.

Last fiddled with by science_man_88 on 2010-08-13 at 15:50
science_man_88 is offline   Reply With Quote
Old 2010-08-13, 16:14   #381
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3·1,993 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
you say Mersenne numbers ... any other patterns in it if it is for Mersenne primes such that it would help predict modulo ?
I'm sorry, I meant Mersenne primes. The same pattern would hold for Mersenne numbers with exponents relatively prime to 6.

You *know* that you can't predict anything about any sequence that has exponents that are relatively prime to 6, because you're already shown how those sequences have to start. It cuts both ways: because the proof shows that all such sequences will have the same behavior, you can't use that behavior to predict anything within those sequences.

Last fiddled with by CRGreathouse on 2010-08-13 at 16:23
CRGreathouse is offline   Reply With Quote
Old 2010-08-13, 16:15   #382
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

175B16 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
can this be turned into a triangle by turning it 45 degrees ?
Sure, whatever you want. Feel free to modify my code as needed.
CRGreathouse is offline   Reply With Quote
Old 2010-08-13, 16:37   #383
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Code:
>for(k=1,15,print(k"\t"ProdK(k)))
1       [3, 7, 4, 1, 1, 4, 1, 1, 1, 4, 4, 1, 4, 1, 1, 1, 1, 1, 4, 1, 4, 4, 4, 4, 4, 1, 1, 4, 1, 1, 1, 4, 4, 1, 4, 4, 4, 4, 1]
2       [3, 1, 4, 1, 4, 4, 1, 1, 4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 4, 1, 4, 4, 7, 7, 7, 1, 1, 1, 1, 4, 4, 4, 1, 4, 4, 1, 1, 1, 1, 4, 4]
13      [3, 4, 7, 4, 4, 4, 4, 4, 7, 1, 1, 1, 4, 1, 1, 4, 4, 4, 4, 4, 7, 4, 4, 4, 4, 4, 4]
14      [3, 4, 7, 4, 4, 7, 4, 7, 1, 4, 4, 4, 4, 1, 4, 4, 4, 4, 7, 7, 7, 7, 7, 7, 7, 4]
15      [3, 4, 7, 4, 7, 7, 7, 1, 4, 7, 7, 4, 4, 4, 4, 4, 4, 7, 1, 7, 1, 1, 1, 1, 7]
here's one such thing I see.

Last fiddled with by science_man_88 on 2010-08-13 at 16:50
science_man_88 is offline   Reply With Quote
Old 2010-08-13, 16:49   #384
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

3×1,993 Posts
Default

SLSN, for that one. Since you're going along the antidiagonals there aren't any more terms to check...
CRGreathouse is offline   Reply With Quote
Old 2010-08-13, 16:51   #385
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
SLSN, for that one. Since you're going along the antidiagonals there aren't any more terms to check...
SLSN ?
science_man_88 is offline   Reply With Quote
Reply



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

All times are UTC. The time now is 22:37.


Fri Aug 6 22:37:59 UTC 2021 up 14 days, 17:06, 1 user, load averages: 3.65, 3.67, 3.46

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.