Post Reply 
STOP in 34s
12-03-2015, 09:24 AM (This post was last modified: 12-03-2015 09:25 AM by Dieter.)
Post: #9
RE: STOP in 34s
(12-03-2015 08:28 AM)ggauny@live.fr Wrote:  Well I have the target to calcul prime factors on an integer, but notonly have first digit R/S, second digit R/S and etc. Do you saw ? Of course it is possible because 34s have alpha register and me I want to see this, more comprehensible to see :

ex : 262164---> 2^18 than wait 18 times with R/S

ex : 9.670.248--->2^3 3^2 7^2 2741

No problem. Just add a counter and display the factor and its exponent before the next divisor is tested.

Your flowchart includes such a counter in j. But nevertheless it will not work – I have attached a corrected version. You also have to initialize i at the start (i=1) and include an exit condition (i > √n? then quit and display n, unless it equals 1).

Dieter
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
STOP in 34s - ggauny@live.fr - 11-30-2015, 10:38 AM
RE: STOP in 34s - Marcus von Cube - 11-30-2015, 06:56 PM
RE: STOP in 34s - Dieter - 12-01-2015, 07:36 PM
RE: STOP in 34s - ggauny@live.fr - 12-01-2015, 08:07 PM
RE: STOP in 34s - walter b - 12-01-2015, 08:29 PM
RE: STOP in 34s - Dieter - 12-01-2015, 08:58 PM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 08:28 AM
RE: STOP in 34s - Dieter - 12-03-2015 09:24 AM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 09:05 AM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 11:06 AM
RE: STOP in 34s - Paul Dale - 12-03-2015, 11:24 AM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 11:56 AM
RE: STOP in 34s - walter b - 12-03-2015, 12:11 PM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 12:06 PM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 12:25 PM
RE: STOP in 34s - Dieter - 12-03-2015, 03:40 PM
RE: STOP in 34s - ggauny@live.fr - 12-03-2015, 06:36 PM



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