![]() |
|
|
#430 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Also: I can rig the number to be semiprime: Here's an example: Code:
55762113159666605738616781764882446662982216262889524965004140441546022418664991294967299112901478710275915859674894915215729565500652173245752458035579997432840192000000000000000000000001 = 5846650401949673788584832661 * 9537446114628590934543506256858833034627998057578048449114232547066222757945489740614277575764557950018685132240750168209560234946900002547179019523457586506941 Here's a better example: Code:
289508238708400855287326405336918749133423298889334502223156944093968*150!+1 = 10254288128120939058918287267226262277004901802104088101537671807691 * 1613053686056875801829683444255478970299912076335944456541386114240383845905441917746506601556683535279149882320681534772255292138166095487502436596518188053218548567074676625073642723441629113007713095460989964369203609983928686506798110902140688105800120704029411 (Imagine someone was in the middle of factoring that one.)
Last fiddled with by 3.14159 on 2010-08-14 at 02:42 |
|
|
|
|
|
|
#431 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#432 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Code:
M(x)= a=0;for(n=0,x-1,a=a+M(n));a=a+x;print(a",") |
|
|
|
|
|
#433 | |
|
May 2010
Prime hunting commission.
24×3×5×7 Posts |
Quote:
Code:
forstep(n=1,a,b,if(isprime((n*22!+1)/b), print(n))) 2386628800 * 60! + 1 = 894 * 316518937978282424919538194794587561257209063707380372243938125981964972473329411361 Ex 2: 1974103215468915131950479405951082163*66!+1 = 716 * 894 * 1018 * 12347042307394672596544859365776765192013890088140194548358364707496516846616209505096123905841 Last fiddled with by 3.14159 on 2010-08-14 at 14:22 |
|
|
|
|
|
|
#434 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I know for n>2 MP(n) = 4^k*MP(n-1)+(4^k-1) the hard part is how to define k.
Last fiddled with by science_man_88 on 2010-08-14 at 14:36 |
|
|
|
|
|
#435 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
only problem with my codes is deep recursion I think it's called.
|
|
|
|
|
|
#436 |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
I think if i change it to vectors then ask for the sum of the indexes it might work. but it's never a guarantee with me lol.
|
|
|
|
|
|
#437 |
|
Aug 2006
3×1,993 Posts |
|
|
|
|
|
|
#438 | |
|
Aug 2006
3×1,993 Posts |
Quote:
|
|
|
|
|
|
|
#439 |
|
"Forget I exist"
Jul 2009
Dumbassville
26×131 Posts |
|
|
|
|
|
|
#440 |
|
Aug 2006
597910 Posts |
|
|
|
|
![]() |
| 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 |