50g Mini-Challenge: Number of positive divisors of x!
|
10-01-2017, 02:35 AM
(This post was last modified: 10-01-2017 02:37 AM by Paul Dale.)
Post: #14
|
|||
|
|||
RE: 50g Mini-Challenge: Number of positive divisors of x!
This one is cheating but it is very very fast:
<< [ 1 2 4 8 16 30 60 96 160 270 540 792 1584 2592 4032 5376 10752 14688 29376 41040 60800 96000 192000 242880 340032 532224 677376 917280 1834560 2332800 4665600 5529600 7864320 12165120 16422912 19595520 39191040 60466176 85100544 102435840 204871680 258048000 516096000 677376000 819624960 1258709760 2517419520 2876670720 3698576640 4464046080 6210846720 8087040000 16174080000 18559756800 23984916480 28217548800 39016857600 59609088000 119218176000 137106432000 274212864000 418535424000 492139929600 543050956800 695105224704 850195906560 1700391813120 2190889451520 3012472995840 3543845437440 7087690874880 7848891187200 15697782374400 23878316851200 ] SWAP GET >> And it works on a 28S. The next value in the sequence cannot be represented exactly, so I stopped. Pauli |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)