The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Massaging output of 50g's FACTORS command
01-03-2015, 07:12 AM
Post: #1
Massaging output of 50g's FACTORS command
For a value or expression, FACTORS returns a list of prime factors and their multiplicities: 1944 FACTORS returns {3 5. 2 3.}, for example.

How can I split that list into two, one {3 2} a list of the prime factors and the other {5. 3.} a list of their respective multiplicities? Some little RPL program will presumably do it.

This should be a few seconds' worth of fun for someone!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Massaging output of 50g's FACTORS command - Peter Murphy - 01-03-2015 07:12 AM



User(s) browsing this thread: 6 Guest(s)