![]() |
|
|
#1233 |
|
Aug 2006
10111010110112 Posts |
Indeed. This the first *row* in the array calculated by my first suggestion is precisely the prime numbers, A000040. But the sequence is not its first row. It starts 2, 3, 5, 5, 13, 109, ... and so is clearly different from A000040. The second sequence is about half 1s and so is clearly distinct from the primes; it starts 1, 1, 2, 1, 1, 2, 2, 1, ... if I haven't made any mistakes. The third sequence is 5, 13, 109,163, ...
|
|
|
|
|
|
#1234 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
finally a question on Pari commands again:
how do you make alter and print the antidiagonals of a matrix: Last fiddled with by science_man_88 on 2010-08-31 at 00:20 |
|
|
|
|
|
#1235 | |
|
Aug 2006
175B16 Posts |
Quote:
|
|
|
|
|
|
|
#1236 | |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Quote:
2, 3, 5, 109, 163, 257, 271, 379, 433, 487, 541, 769, 3329, 7681, 7937, 9473, 10753, 11777, 12289, 13313, 14081, 14593, 15361, 17921, 18433, 19457, 22273, 23041, 23297, 25601, 26113, 26881, 30977, 31489, 32257, 36097, 36353, 37501, 37633, 37889, 39937, 40193, 40961, 41729, 43777, 45569, 46337, 49409, 49921, 50177, 51713, 57089, 57601, 58369, 59393, 60161, 61441, 62501, 64513, 65537, ... Last fiddled with by 3.14159 on 2010-08-31 at 00:27 |
|
|
|
|
|
|
#1237 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
|
|
|
|
|
|
|
#1238 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#1239 | |
|
Aug 2006
3·1,993 Posts |
Quote:
|
|
|
|
|
|
|
#1240 |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
|
|
|
|
|
|
#1241 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
I found how to make a matrix but I don't see how the way they make it differs from a vector.
|
|
|
|
|
|
#1242 | |
|
May 2010
Prime hunting commission.
69016 Posts |
Quote:
2. The sequence with the restriction. (k * bb + 1, k < bb) Last fiddled with by 3.14159 on 2010-08-31 at 00:38 |
|
|
|
|
|
|
#1243 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I got the matrix formed and vectors to fill it but can you get it to print them as rows not just all at once ?
|
|
|
|
![]() |
| Thread Tools | |
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 |