Computing desk | ||
---|---|---|
< February 18 | << Jan | February | Mar >> | February 20 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
As I was using MS Word, I accidentally deleted the contents than saved the document. I realised this thereafter reviewing the document. How do I re-collect the information? 103.67.159.200 ( talk) 04:36, 19 February 2017 (UTC)
I'm looking for some safe primes of around 300 or so digits. Is there a standard listing of that sort of thing? I did take a stab at generating them using a fairly efficient computing algorithm - which does fine in the tens of digits - but of course a jump in order of magnitude just creates such a much larger search space that I've yet to see a single prime of that size at this point. Any ideas? Earl of Arundel ( talk) 08:30, 19 February 2017 (UTC)
222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222801407
681585627032540283407897049573943438864991564384081864606798355681927368882418588940610880082924107725344352426869730927204896839743453854437265009790110718860756175638300841264131752404495959142547366913702122243460812876710321117513484795819233714299670604738148021754597371318698761395812018572519
nextprime
and ispseudoprime
make
prp tests almost certain to produce primes. isprime
would make primality proofs but be slower.
PrimeHunter (
talk)
23:00, 19 February 2017 (UTC)for(n=1,5000,p=nextprime(random(10^300));if(ispseudoprime((p-1)/2),print(p))) 146826802325178743666647061779713417611259934811900522577544206839763515828687825279365134210939056543140136635939259809100232274940676856687607875001704527141790658441630421867014340205717004954887742192841795596397643359593336357804864669571879248567500042385640119936769305112452232482315185400627 189245147177606331584023875953267114326398737777762360150885641279051616456892584088107824699894789233671588064860339727298515859969383896839558666217153218476356205131691803322265876463410618767738035270628788079093798634481718643230178954554082043541820540195807474059566449769729300898569439347219 906746488931122279923087816774254262549325961021203686871024593960273364483640837461275651353839912478276312989231907136777434371442297783809058139703704548112582549231057887119837609961275494698594028464424938139236812786325180573685365716054578878269276609138278646089652565880503149299047623725983 935963679945159621618108135650731602316123462844739918966791054002220621454733515962631838558167071714943415781502503512108093455147689164719674990397035764248808486754562236727013255473894080575022971540677037449750273014794528407667454650131576454015775014701175216242011377646611112897139737772263 900868433651123753195857434154886592863492075718887214387046829406809805283361296277175990663685161530183997243896077623165157756007099732429029873106259069821886766195661979481563101826429797570890866473513531898785774896418926615059720815237664116812063491035355207065882456370964859448027182804663 78051553050775412450764922949272607832888279795219210490159546292573544344409789339902163711499864234225334440363474968206590948838140508077711461378723988713387646192208969558413389127673105435094693170772364285590152222728794669485480277618571809396011062579114664522387048289471601386870869721619
isprime
function to prove their primality. Nice. Well thank you very much,
PrimeHunter!
Earl of Arundel (
talk)
18:27, 20 February 2017 (UTC)So I'm trying to figure out the bug in this code:
{|style="background-color:#ffffff; text-align:left" width="100%" cellspacing="10"
|-
|style="text-align:left;" valign="top" width=170 rowspan="3"|[[{{{1}}}|150px]]
|style="text-align:left;" valign="top"|{{{2}}}
Randomtext A:
{{{3}}}
|-
|Randomtext B (if applicable):
{{{4}}}
|-
|align="center" colspan="2"|
|}
The blue part, when there are multiple bullet entries, all the bullets are blue except the last one, which is black. The text remains blue though. Stumped as to why. RegistryKey (RegEdit) 14:43, 19 February 2017 (UTC)
When you have something like <?php echo '
Hello World
'; ?> in a file and an Apache2 server running, what runs this bit? There's no PHP process running in the server. Does Apache starts a PHP process, runs the bit, and close it each and every time someone hits the page? -- 123abcnewnoob ( talk) 15:46, 19 February 2017 (UTC)
Computing desk | ||
---|---|---|
< February 18 | << Jan | February | Mar >> | February 20 > |
Welcome to the Wikipedia Computing Reference Desk Archives |
---|
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages. |
As I was using MS Word, I accidentally deleted the contents than saved the document. I realised this thereafter reviewing the document. How do I re-collect the information? 103.67.159.200 ( talk) 04:36, 19 February 2017 (UTC)
I'm looking for some safe primes of around 300 or so digits. Is there a standard listing of that sort of thing? I did take a stab at generating them using a fairly efficient computing algorithm - which does fine in the tens of digits - but of course a jump in order of magnitude just creates such a much larger search space that I've yet to see a single prime of that size at this point. Any ideas? Earl of Arundel ( talk) 08:30, 19 February 2017 (UTC)
222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222801407
681585627032540283407897049573943438864991564384081864606798355681927368882418588940610880082924107725344352426869730927204896839743453854437265009790110718860756175638300841264131752404495959142547366913702122243460812876710321117513484795819233714299670604738148021754597371318698761395812018572519
nextprime
and ispseudoprime
make
prp tests almost certain to produce primes. isprime
would make primality proofs but be slower.
PrimeHunter (
talk)
23:00, 19 February 2017 (UTC)for(n=1,5000,p=nextprime(random(10^300));if(ispseudoprime((p-1)/2),print(p))) 146826802325178743666647061779713417611259934811900522577544206839763515828687825279365134210939056543140136635939259809100232274940676856687607875001704527141790658441630421867014340205717004954887742192841795596397643359593336357804864669571879248567500042385640119936769305112452232482315185400627 189245147177606331584023875953267114326398737777762360150885641279051616456892584088107824699894789233671588064860339727298515859969383896839558666217153218476356205131691803322265876463410618767738035270628788079093798634481718643230178954554082043541820540195807474059566449769729300898569439347219 906746488931122279923087816774254262549325961021203686871024593960273364483640837461275651353839912478276312989231907136777434371442297783809058139703704548112582549231057887119837609961275494698594028464424938139236812786325180573685365716054578878269276609138278646089652565880503149299047623725983 935963679945159621618108135650731602316123462844739918966791054002220621454733515962631838558167071714943415781502503512108093455147689164719674990397035764248808486754562236727013255473894080575022971540677037449750273014794528407667454650131576454015775014701175216242011377646611112897139737772263 900868433651123753195857434154886592863492075718887214387046829406809805283361296277175990663685161530183997243896077623165157756007099732429029873106259069821886766195661979481563101826429797570890866473513531898785774896418926615059720815237664116812063491035355207065882456370964859448027182804663 78051553050775412450764922949272607832888279795219210490159546292573544344409789339902163711499864234225334440363474968206590948838140508077711461378723988713387646192208969558413389127673105435094693170772364285590152222728794669485480277618571809396011062579114664522387048289471601386870869721619
isprime
function to prove their primality. Nice. Well thank you very much,
PrimeHunter!
Earl of Arundel (
talk)
18:27, 20 February 2017 (UTC)So I'm trying to figure out the bug in this code:
{|style="background-color:#ffffff; text-align:left" width="100%" cellspacing="10"
|-
|style="text-align:left;" valign="top" width=170 rowspan="3"|[[{{{1}}}|150px]]
|style="text-align:left;" valign="top"|{{{2}}}
Randomtext A:
{{{3}}}
|-
|Randomtext B (if applicable):
{{{4}}}
|-
|align="center" colspan="2"|
|}
The blue part, when there are multiple bullet entries, all the bullets are blue except the last one, which is black. The text remains blue though. Stumped as to why. RegistryKey (RegEdit) 14:43, 19 February 2017 (UTC)
When you have something like <?php echo '
Hello World
'; ?> in a file and an Apache2 server running, what runs this bit? There's no PHP process running in the server. Does Apache starts a PHP process, runs the bit, and close it each and every time someone hits the page? -- 123abcnewnoob ( talk) 15:46, 19 February 2017 (UTC)