Faster factor finder method for 42S
11-29-2019, 01:26 PM
Post: #7
 Dave Britten Senior Member Posts: 2,074 Joined: Dec 2013
RE: Faster factor finder method for 42S
(11-29-2019 09:38 AM)Csaba Tizedes Wrote:
(11-26-2019 04:24 PM)Dave Britten Wrote:  undocumented matrix function [MIN]
I got the idea from a TI-84 factor finder

Thanks,
Csaba

There are sooo many factoring programs for the 83/84 floating around that I honestly couldn't tell you where I found it. Here's the code, though. It also does some clever tricks with End, so it's a bit tough to follow.

Code:
Input "X=",X 0→dim(⌊FACTR 2→D For(B,2,6 While B<Xnot(fPart(X/B Lbl 1 max(B,D→D While fPart(X/D D+2→D End X/D→X Disp D D→⌊FACTR(dim(⌊FACTR)+1 End End For(C,B,√(X),30) If min(fPart(X/(C+{0,4,6,10,12,16,22,24 End If C²≤X Then C→B X→C Goto 1 End X→⌊FACTR(dim(⌊FACTR)+1 ⌊FACTR

For info on the "[MIN]" function (yes, the brackets are included in the function name), see Joe's post linked above.
 « Next Oldest | Next Newest »

 Messages In This Thread Faster factor finder method for 42S - Dave Britten - 11-26-2019, 04:24 PM RE: Faster factor finder method for 42S - Csaba Tizedes - 11-29-2019, 09:38 AM RE: Faster factor finder method for 42S - Dave Britten - 11-29-2019 01:26 PM RE: Faster factor finder method for 42S - Paul Dale - 11-29-2019, 10:16 AM RE: Faster factor finder method for 42S - grsbanks - 11-29-2019, 11:27 AM RE: Faster factor finder method for 42S - Joe Horn - 11-29-2019, 01:12 PM RE: Faster factor finder method for 42S - grsbanks - 11-29-2019, 01:25 PM RE: Faster factor finder method for 42S - Joe Horn - 11-29-2019, 02:04 PM RE: Faster factor finder method for 42S - Dave Britten - 11-29-2019, 04:27 PM RE: Faster factor finder method for 42S - DMaier - 11-30-2019, 09:32 PM RE: Faster factor finder method for 42S - J-F Garnier - 12-01-2019, 08:02 PM RE: Faster factor finder method for 42S - Werner - 12-02-2019, 07:17 AM RE: Faster factor finder method for 42S - Dave Britten - 12-02-2019, 12:19 PM

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