Re: prime factors

2017-05-04 Thread derrick
;faster in runtime speed'? There's also https://en.wikipedia.org/wiki/Code_golf . > Derrick > > > --发件人:Jim > Gibson日 期:2017年05月03日 00:35:53收件人:derrick > cope; beginners主 题:Re: prime > factors > > On May 2, 20

Re: prime factors

2017-05-03 Thread Shlomi Fish
:Jim > Gibson日 期:2017年05月03日 00:35:53收件人:derrick > cope; beginners主 题:Re: prime > factors > > On May 2, 2017, at 7:58 AM, derrick cope wrote: > > > > I was writing a program to solve the #3 exercise on project Euler. I needed > > to find the prime factors of a given

Re: prime factors

2017-05-02 Thread derrick
人:derrick cope; beginners主 题:Re: prime factors > On May 2, 2017, at 7:58 AM, derrick cope wrote: > > I was writing a program to solve the #3 exercise on project Euler. I needed > to find the prime factors of a given number. > I have solved it already but a couple of the ways I tri

Re: prime factors

2017-05-02 Thread Raunak Kathuria
cope" wrote: > > > I was writing a program to solve the #3 exercise on project Euler. > > For reference, it is https://projecteuler.net/problem=3 . > > >I needed > > to find the prime factors of a given number. I have solved it already > but a > > coup

Re: prime factors

2017-05-02 Thread Shlomi Fish
Hi derrick! Welcome aboard! See below for my reply. On Tue, 02 May 2017 22:58:58 +0800 "derrick cope" wrote: > I was writing a program to solve the #3 exercise on project Euler. For reference, it is https://projecteuler.net/problem=3 . >I needed > to find the prime

Re: prime factors

2017-05-02 Thread Jim Gibson
> On May 2, 2017, at 7:58 AM, derrick cope wrote: > > I was writing a program to solve the #3 exercise on project Euler. I needed > to find the prime factors of a given number. > I have solved it already but a couple of the ways I tried to solve the > problem caused a proble

prime factors

2017-05-02 Thread derrick cope
I was writing a program to solve the #3 exercise on project Euler. I needed to find the prime factors of a given number. I have solved it already but a couple of the ways I tried to solve the problem caused a problem. The below worked for smaller numbers but when I used the 12 digit number