Go Back > Great Internet Mersenne Prime Search > Software

Thread Tools
Old 2017-09-23, 04:31   #1
devarajkandadai's Avatar
May 2004

1001111002 Posts
Default pari- p-adic numbers

We can use pari to create sequences similar to that on page 19 of Borevich and Shafarevich's book, number theory as follows:

Code: {is(n)=Mod(n,7)^2==2}
Next {is(n)=Mod(n,7^2)^2==2}
next {is(n)=Mod(n,7^3)^2==2}

You will get three sequences, the first of which corresponds to x_0.Second corresponds to x_1 and the third corresponds to x_2 of page 19 of the book.
Thus we get three sequences from which we can form a sequence conforming with 3.3 of the same. Needless to say this process can be continued.Important point: we have formed the required sequence without solving any linear equation.
devarajkandadai is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
LLL in GP/Pari paul0 Programming 2 2015-11-17 13:04
PARI vs GAP skan Miscellaneous Math 0 2012-12-16 00:13
pari devarajkandadai Programming 21 2012-08-31 18:08
Pari bootcamp CRGreathouse Software 25 2010-09-09 05:24
64-bit Pari? CRGreathouse Software 2 2009-03-13 04:22

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

Wed Dec 1 07:22:11 UTC 2021 up 131 days, 1:51, 1 user, load averages: 1.09, 1.14, 1.23

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.