![]() |
|
|
#1321 |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Primes p such that p*102 + 1 is also prime: 701, 1301, 1901, 3701, 6101, 6701, 7901, 10301, 13901, 15101, 16301, 19301, 21101, 22901, 27701, 42101, 46301, 52301, 54101, 60101, 64301, 70901, 72701, 81101, 82301, 87701, 88301, 93701, 102101, 112901, 115301, 117101, 123701, 132701, 138101, 139901, 144701, 148301, 157901, 159701, 165701, 166301, 174101, 178301, 186701, 193301, 198701, 201101, 201701, 217901, 220301, 226901, 237701, 243701, 247301, 250301, 252101, 253901, 270701, 285101, 291701, etc...
Submitted to OEIS. Last fiddled with by 3.14159 on 2010-09-06 at 18:38 |
|
|
|
|
|
#1322 | |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Quote:
or p*10n+1 and p*100n+1 ? |
|
|
|
|
|
|
#1323 |
|
May 2010
Prime hunting commission.
69016 Posts |
Former.
|
|
|
|
|
|
#1324 | |
|
"Forget I exist"
Jul 2009
Dumbassville
838410 Posts |
Quote:
1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,.... 1,16,81,256,........ 1) n2 2) n4 Red) the members in both sequences see how all the n4 are Red ? since it includes all fourth powers only then it can be stated: within the set of fourth powers, instead of in the set of squares and the set of fourth powers, so the redundancy stays. Last fiddled with by science_man_88 on 2010-09-06 at 19:40 |
|
|
|
|
|
|
#1325 |
|
May 2010
Prime hunting commission.
24·3·5·7 Posts |
Sent the b-file for the first 20000 terms. The 20000th term is 284727701.
|
|
|
|
|
|
#1326 | |||
|
Aug 2006
175B16 Posts |
Quote:
Quote:
Quote:
Another way to do it -- the way I'd prefer -- is to pass a closure rather than a string. So Code:
ifprime(p, s)=if(isprime(p), s(p)); ifprime(100, p -> print(p)); ifprime(101, p -> print(p)); Code:
ifprime(p, s)=if(isprime(p), s(p)); printme(n)=print(n); ifprime(100, printme); ifprime(101, printme); |
|||
|
|
|
|
|
#1327 | |
|
Aug 2006
3·1,993 Posts |
Quote:
You should probably discuss your sequences here before submitting so we can iron out the wording and so forth. |
|
|
|
|
|
|
#1328 | |
|
"Forget I exist"
Jul 2009
Dumbassville
20C016 Posts |
Quote:
|
|
|
|
|
|
|
#1329 |
|
Mar 2006
Germany
22×727 Posts |
No, he gave the values for p*10^2+1, but as stated "Primes p such..." should list the p-values and not the p*10^2+1 results!
The sequence as submitted is false! Last fiddled with by kar_bon on 2010-09-06 at 22:14 |
|
|
|
|
|
#1330 |
|
"Forget I exist"
Jul 2009
Dumbassville
203008 Posts |
|
|
|
|
|
|
#1331 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
instead of :
Code:
forprime(p=1,1500,if(isprime(p*10^2+1),print(p))) |
|
|
|
![]() |
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 |