![]() |
![]() |
#1 |
May 2004
31610 Posts |
![]()
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} select(is,[1..100]) Next {is(n)=Mod(n,7^2)^2==2} select(is,[1..1000]) next {is(n)=Mod(n,7^3)^2==2} select(is,[1..1000]) 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. |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
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 |