mersenneforum.org  

Go Back   mersenneforum.org > Search Forums

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: PdB
Forum: Puzzles 2012-03-06, 20:01
Replies: 165
Views: 21,248
Posted By PdB
Got it !

At last, after switching from Ruby to C++ and increasing the computational precision, I got the right answer...
Forum: Puzzles 2012-03-02, 20:43
Replies: 165
Views: 21,248
Posted By PdB
@lavalamp I investigated the triangles approach...

@lavalamp I investigated the triangles approach after you mentioned in a previous post that someone on the Euler forum posted a code that executes in 1 sec or so. Although you added that you didn't...
Forum: Puzzles 2012-03-02, 15:47
Replies: 165
Views: 21,248
Posted By PdB
I tried to apply Pick S = i + b/2 -1 : - S =...

I tried to apply Pick S = i + b/2 -1 :
- S = top side * left side / 2
- b = b top + b left + b hypothenus (b hypothenus = 0 when sqrt(n) is not an integer) (beware not to count each vertice more...
Forum: Puzzles 2012-03-02, 13:04
Replies: 165
Views: 21,248
Posted By PdB
I didn't. Check your mailbox

I didn't. Check your mailbox
Forum: Puzzles 2012-03-01, 22:48
Replies: 165
Views: 21,248
Posted By PdB
Unhappy Alas !... I agree and I don't know where to go...

Alas !... I agree and I don't know where to go from there...
Forum: Puzzles 2012-03-01, 17:08
Replies: 165
Views: 21,248
Posted By PdB
Red face Take the graph posted by Jaxon (page 1 on this...

Take the graph posted by Jaxon (page 1 on this thread), draw a square of side N-M (bottom-left corner is (M,M)), and consider all triangles aligned on the top left corner, whose hypothenuses are on...
Forum: Puzzles 2012-03-01, 16:14
Replies: 165
Views: 21,248
Posted By PdB
If I am not mistaken, rasterizing means a loop on...

If I am not mistaken, rasterizing means a loop on x from M to N (N decreasing) with an inner loop from 1 to 250,000, which I try to avoid.
Forum: Puzzles 2012-03-01, 13:07
Replies: 165
Views: 21,248
Posted By PdB
Very fast but still approx...

The triangles surfaces method is pretty fast : 2 seconds to get 301257385700605400. It is still a wrong answer, but it's close to my previous result, obtained with a completely different way. Which...
Forum: Puzzles 2012-03-01, 08:25
Replies: 165
Views: 21,248
Posted By PdB
@lavalamp : unfotunately, I did well start at...

@lavalamp : unfotunately, I did well start at 2e6+1.

@voidme : another path might be to compute triangles surfaces... N and M are so huge that maybye the boundary effets (ceil & floor on...
Forum: Puzzles 2012-02-29, 13:33
Replies: 165
Views: 21,248
Posted By PdB
Damned !

I found 301450082318808111, but it gets the red cross... can any solver tell me how close (or far...) I am ? Thanks
Forum: Puzzles 2012-02-24, 09:14
Replies: 165
Views: 21,248
Posted By PdB
Among these "clever" methods, did you see by...

Among these "clever" methods, did you see by chance something ressembling to computing the following sum :

sqrt(2)-sqrt(1) + sqrt(4)-sqrt(3) + .... + sqrt(n+1)-sqrt(n) ?

And if so, do you know...
Showing results 1 to 11 of 11

 
All times are UTC. The time now is 03:06.


Sat Jul 17 03:06:57 UTC 2021 up 50 days, 54 mins, 1 user, load averages: 1.34, 1.29, 1.30

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.