test
Page 1 of 1 [ 6 posts ] 

morslilleole
Velociraptor
Velociraptor

User avatar

Joined: 17 Dec 2011
Age:27
Posts: 478
Location: Norway

18 Apr 2014, 4:46 pm

Anyone here solve Project Euler problems? I find them very fun. I recently implemented a BigInt class in C++ which can handle numbers of any size. Using it, I was able to calculate 100! ( factorial ) which has something like 150 digits. And another one made me look into Pascal triangle, which is a very interesting mathematic structure.

Anyone else has solve Project Euler problems?


_________________
Want to learn to make games? http://headerphile.com/


jrjones9933
Veteran
Veteran

User avatar

Joined: 13 May 2011
Age:46
Posts: 5,845
Location: Rrrrr...

18 Apr 2014, 7:23 pm

It sounds interesting, and I've bookmarked it for later. I don't know how long it will be until I have time to learn programming, but I definitely want to do that at some point. I just have a lot to do to complete my current educational project over the next three years (math and finance).



ruveyn
Veteran
Veteran

User avatar

Joined: 21 Sep 2008
Age:78
Posts: 31,726
Location: New Jersey

19 Apr 2014, 8:33 am

morslilleole wrote:
Anyone here solve Project Euler problems? I find them very fun. I recently implemented a BigInt class in C++ which can handle numbers of any size. Using it, I was able to calculate 100! ( factorial ) which has something like 150 digits. And another one made me look into Pascal triangle, which is a very interesting mathematic structure.

Anyone else has solve Project Euler problems?


How about numbers of 10^100 digits?

ruveyn



morslilleole
Velociraptor
Velociraptor

User avatar

Joined: 17 Dec 2011
Age:27
Posts: 478
Location: Norway

19 Apr 2014, 8:53 am

ruveyn wrote:
morslilleole wrote:
Anyone here solve Project Euler problems? I find them very fun. I recently implemented a BigInt class in C++ which can handle numbers of any size. Using it, I was able to calculate 100! ( factorial ) which has something like 150 digits. And another one made me look into Pascal triangle, which is a very interesting mathematic structure.

Anyone else has solve Project Euler problems?


How about numbers of 10^100 digits?
ruveyn


10^100?^100? A googleplex? I don't know of any ways to do that. Is it even possible? It's a whole lot of digits...


_________________
Want to learn to make games? http://headerphile.com/


eric76
Veteran
Veteran

User avatar

Joined: 31 Aug 2012
Posts: 9,878
Location: In the heart of the dust bowl

20 Apr 2014, 10:12 pm

In theory, Lisp is supposed to be able to handle any number of digits.



foxfield
Toucan
Toucan

User avatar

Joined: 10 Sep 2011
Age:27
Posts: 259
Location: UK

21 Apr 2014, 3:59 am

I've done a few of them in PHP. I enjoyed finding the 10001st prime number in particular