![]() |
|
|
#23 |
|
"Mike"
Aug 2002
202016 Posts |
Via the magic of number_format() we have this fixed!
Code:
2*2*2*2*5*5*5*5 73*137 2*3*1,667 7*1,429 2*2*41*61 3*5*23*29 2*5,003 10,007 2*2*2*3*3*139 10,009 2*5*7*11*13 3*47*71 2*2*2,503 17*19*31 2*3*1,669 5*2,003 2*2*2*2*2*313 3*3*3*7*53 2*5,009 43*233 2*2*3*5*167 11*911 2*5,011 3*13*257 2*2*2*7*179 5*5*401 2*3*3*557 37*271 2*2*23*109 3*3,343 2*5*17*59
|
|
|
|
|
|
#24 |
|
"Mike"
Aug 2002
100000001000002 Posts |
Fixed!
![]() Edit1: Adding spaces takes up too much room. The display will continue to another line but it looks weird. Edit2: Special thanks to this web page for the ability to prototype rapidly and this web site to make our code less ugly. |
|
|
|
|
|
#25 | |
|
"Graham uses ISO 8601"
Mar 2014
AU, Sydney
35 Posts |
Quote:
The petition to do that at mersenne.org was successful, with Madpoo's efforts appreciated. I suppose that would depend on such being provisioned by an appropriate version of vBulletin. |
|
|
|
|
|
|
#26 | |
|
"Mike"
Aug 2002
25·257 Posts |
Quote:
http://php.net/manual/en/function.date.php Date formats are a very volatile subject here, for some reason. You would need to get a lot of members to agree with the change. Any time we mess with the format even the littlest bit everyone goes bananas. (Maybe make a poll?)
|
|
|
|
|
|
|
#27 | |
|
Jun 2003
31·163 Posts |
Quote:
|
|
|
|
|
|
|
#28 | |
|
Jun 2003
31·163 Posts |
Quote:
Also, if you haven't implemented the i*i<=x condition in while loop, I strongly advice to do so. For larger numbers this could lead to substantial savings. |
|
|
|
|
|
|
#29 | |
|
"/X\(‘-‘)/X\"
Jan 2013
22×733 Posts |
Quote:
implode('×',array_map(function($v,$k){return $v>1?"$k[ sup]$v[/sup]":$k;},$a=array_count_values(explode('×',$t)),array_keys($a))); ... minus the space before sup. |
|
|
|
|
|
|
#30 |
|
"Mike"
Aug 2002
822410 Posts |
This one is real ugly, but it works:
|
|
|
|
|
|
#31 |
|
"Mike"
Aug 2002
100000001000002 Posts |
|
|
|
|
|
|
#32 | |
|
Romulan Interpreter
Jun 2011
Thailand
100101100011002 Posts |
Quote:
|
|
|
|
|
|
|
#33 |
|
"/X\(‘-‘)/X\"
Jan 2013
22×733 Posts |
Last fiddled with by Mark Rose on 2016-03-11 at 06:17 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Collaboration Requests | robert44444uk | Prime Gap Searches | 2 | 2017-01-17 07:57 |
| Requests for change... | WraithX | FactorDB | 32 | 2014-12-18 03:40 |
| Manual Requests | tului | GPU Computing | 15 | 2014-06-24 06:22 |
| a few simple requests for v5 | ixfd64 | PrimeNet | 44 | 2010-01-11 20:21 |
| New Year requests | masser | Sierpinski/Riesel Base 5 | 22 | 2007-09-24 21:05 |