View Single Post
Old 2010-11-09, 23:10   #23
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Code:
(12:16) gp > for(x=2,30,for(i=2,20,print1(((mersenne[i]^x-1)-(mersenne[i-1]^x-1))%6","));print())
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
1,2,2,0,4,2,0,0,4,0,2,4,2,0,0,0,0,4,2,
5,4,0,0,0,0,0,0,0,0,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