## Search found 146 matches

- Tue Nov 03, 2020 6:35 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 727
- Replies:
**2** - Views:
**151**

### Re: Problem 727

Hi yourmaths, "chosen uniformly" here means we choose one triple from among those which satisfy the limits AND the GCD condition. If you consider only the limit, you'll have a total of $\displaystyle \binom{100}{3}$ triples to choose from. But we will have lower number of triples because of the GCD ...

- Tue Apr 28, 2020 3:28 pm
- Forum: News, Suggestions, and FAQ
- Topic: Removing incentive for spoilers
- Replies:
**14** - Views:
**4731**

### Re: Removing incentive for spoilers

Hi vamsikal3, It's been a while we had a chat. Hope you are doing good.. Regarding the discussion here, I think you've put it nicely here. ... So, if unlocking problems that I cannot solve after spending a few days on it helps me learn/understand new mathematics or programming techniques. I believe ...

- Mon Apr 27, 2020 9:22 am
- Forum: News, Suggestions, and FAQ
- Topic: Suggestion - save to clipboard when posting?
- Replies:
**10** - Views:
**3308**

### Re: Suggestion - save to clipboard when posting?

Great feature euler. Came in handy today.. A big thanks!!

- Fri Apr 17, 2020 6:58 pm
- Forum: Programming languages
- Topic: Any Mathematica tricks to share?
- Replies:
**2** - Views:
**1351**

### Re: Any Mathematica tricks to share?

The undocumented

**Algebra`MatrixPowerMod**. Useful in many PE problems.- Sun Feb 16, 2020 8:47 am
- Forum: News, Suggestions, and FAQ
- Topic: easier new problems?
- Replies:
**5** - Views:
**2018**

### Re: easier new problems?

This post has a lot people sharing their experience at your (or our) stage.

I've also listed some topics in the above thread which can help in solving many PE problems.

Happy Solving!!

I've also listed some topics in the above thread which can help in solving many PE problems.

Happy Solving!!

- Sun Aug 25, 2019 7:34 pm
- Forum: News, Suggestions, and FAQ
- Topic: Username not known
- Replies:
**9** - Views:
**2330**

### Username not known

Hi, For some reason, I can't login to my account. PE says 'Username not known'.

Can anyone let me know why this is happening?

Can anyone let me know why this is happening?

- Wed Aug 21, 2019 3:55 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 613
- Replies:
**9** - Views:
**4617**

### Re: Problem 613

It's just a mathematical description RishadanPort. To make it more abstract, if you randomly select a point inside a right angled triangle and randomly choose some direction to draw a line (starting from the point we chose), what is the probability that the line intersects the hypotenuse?

- Fri Jun 28, 2019 6:15 am
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies:
**579** - Views:
**178646**

### Re: Errors/Warnings/Bugs

We cannot make two consecutive posts in the same solution forum. I think you should be able to edit your post and add the content in the same post.

- Mon May 27, 2019 11:33 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 671
- Replies:
**3** - Views:
**4368**

### Re: Problem 671

671 Hi All, Tiling which are identical after rotating the loop about its axis considered different? Only if I consider them different, I get F_4(3) = 104. Else am stuck at 92. I'm not sure whether 'reflecting horizontally or vertically would give a different tiling, these tilings are to be counted ...

- Mon May 06, 2019 9:17 am
- Forum: Clarifications on Project Euler Problems
- Topic: Problem 272
- Replies:
**15** - Views:
**10935**

### Re: Problem 272

Hi mdean,

If you could PM your value, I can confirm it.

If you could PM your value, I can confirm it.

- Tue Mar 05, 2019 4:43 pm
- Forum: News, Suggestions, and FAQ
- Topic: Project Euler Style Sheet Update
- Replies:
**33** - Views:
**15514**

### Re: Project Euler Style Sheet Update

The kudos count is aligned properly now. Kudos for that euler...

- Mon Mar 04, 2019 12:59 am
- Forum: News, Suggestions, and FAQ
- Topic: Project Euler Style Sheet Update
- Replies:
**33** - Views:
**15514**

### Re: Project Euler Style Sheet Update

Many thanks to the PE team for the new style. The site looks great with the new styling.

The only issue that I saw was as that of

Truly appreciate the hard work in getting PE a new style.

The only issue that I saw was as that of

**MHealy**. For non-permananent posts, the kudos are slightly mis-aligned in Chrome.Truly appreciate the hard work in getting PE a new style.

- Tue Nov 27, 2018 10:29 am
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies:
**579** - Views:
**178646**

### Re: Errors/Warnings/Bugs

For me the problem appears in Chrome but not in IE...

- Tue Nov 27, 2018 4:42 am
- Forum: News, Suggestions, and FAQ
- Topic: Errors/Warnings/Bugs
- Replies:
**579** - Views:
**178646**

### Re: Errors/Warnings/Bugs

Now I have this problem...

If I try to view my posts from 173-180, then am directed to the sign-in page even though am not signed-out of PE.

If I try to view my posts from 173-180, then am directed to the sign-in page even though am not signed-out of PE.

- Fri Aug 24, 2018 5:14 am
- Forum: Programming languages
- Topic: which compiler to use for c++ programs
- Replies:
**2** - Views:
**6527**

### Re: which compiler to use for c++ programs

Like v6ph1 said, if you are looking for online compilers, repl is my favourite..

- Fri Aug 10, 2018 6:52 am
- Forum: Number Theory
- Topic: An Infinite Prime Number Generator
- Replies:
**5** - Views:
**8410**

### Re: An Infinite Prime Number Generator

I changed the code to remove the loop-checking and use modified-step values but still no improvements in timing. For example, the mod-2 version takes ~ 75 secs to list all primes upto 10^8, the mod-6 version takes ~ 85 secs whereas the step-adjusted-mod-6 version takes ~ 95 secs. step-adjusted-mod-6...

- Thu Aug 09, 2018 1:00 pm
- Forum: Number Theory
- Topic: An Infinite Prime Number Generator
- Replies:
**5** - Views:
**8410**

### Re: An Infinite Prime Number Generator

Thanks v6ph1. I too arrived at the same loop for making the program slow. But I think it may be slightly different. Rather than the loop checking, I think the runs more often as the chance of hitting the numbers with mod in the given set becomes low. That I think is the trade-off in the higher mod v...

- Thu Aug 09, 2018 4:51 am
- Forum: Number Theory
- Topic: An Infinite Prime Number Generator
- Replies:
**5** - Views:
**8410**

### An Infinite Prime Number Generator

Hi all, I recently saw a post on an Infinite Prime Number Generator on Stack Exchange given below. from itertools import count from timeit import default_timer start = default_timer() # ideone.com/aVndFM def postponed_sieve(): # postponed sieve, by Will Ness for c in (2, 3, 5, 7): # original code Da...

- Tue Jul 10, 2018 2:59 pm
- Forum: Number
- Topic: an old maths olympiad question
- Replies:
**28** - Views:
**24529**

### Re: an old maths olympiad question

@ jaap , I think you did all the heavy lifting leaving just the algebra to me. The key to solving this problem is to pick the 'central angle' as the variable of interest. Though the 'cubic' approach ended nowhere, it reminded me of the trick of evaluating $\sin(\pi/5)$ exactly, which I kinda used to...

- Tue Jul 10, 2018 12:13 pm
- Forum: Number
- Topic: an old maths olympiad question
- Replies:
**28** - Views:
**24529**

### Re: an old maths olympiad question

... It is straightforward to see that: A1A2 = 2sin(x) A1A3 = 2sin(2x) A1A4 = 2sin(3x) From here, we have, $\displaystyle\frac{1}{\sin x}=\frac{1}{\sin 2x}+\frac{1}{\sin 3x}$ $\displaystyle\sin 2x=\frac{\sin x \sin 3x}{\sin 3x-\sin x}=\frac{\sin x \sin 3x}{2\sin x-4 \sin^3 x}=\frac{\sin x\sin 3x}{2 ...