## Search found 145 matches

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

### 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:
**2585**

### 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:
**1060**

### 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:
**1548**

### 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:
**1725**

### 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:
**4007**

### 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:
**571** - Views:
**151846**

### 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:
**4000**

### 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:
**9936**

### 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:
**13591**

### 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:
**13591**

### 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:
**571** - Views:
**151846**

### 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:
**571** - Views:
**151846**

### 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:
**6196**

### 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:
**7843**

### 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:
**7843**

### 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:
**7843**

### 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:
**22673**

### 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:
**22673**

### 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 ...

- Tue Jun 12, 2018 12:00 pm
- Forum: Combinatorics
- Topic: Die and matchsticks game from 'The Goal'
- Replies:
**0** - Views:
**10360**

### Die and matchsticks game from 'The Goal'

Hi All, This post is about an analysis of a game described in Goldratt's best seller 'The Goal'. The game is as follows: Consider $b$ bins of infinite capacity in a row with an imaginary Source of infinite matchsticks. Matchsticks are transferred to the bins in the following manner: For every bin, m...