Problem 150
Forum rules
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
As your posts will be visible to the general public you are requested to be thoughtful in not posting anything that might explicitly give away how to solve a particular problem.
This forum is NOT meant to discuss solution methods for a problem.
In particular don't post any code fragments or results.
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
Don't start begging others to give partial answers to problems
Don't ask for hints how to solve a problem
Don't start a new topic for a problem if there already exists one
See also the topics:
Don't post any spoilers
Comments, questions and clarifications about PE problems.
-
GraemeMcRae
- Posts: 46
- Joined: Thu Jul 12, 2007 9:59 pm
Re: Problem 150 typo
Also,
Problem 148: "wich" is a typo
Problem 154: "calulate" is a typo
Problem 155: "elecric" is a typo
Problem 158: "characterstrings" is a typo
(I'll let you slide on the double L's in words like cancelled, and the ou in colour as well as the -ise in standardise because people in some very remote parts of the world regard these spellings as -- though it may be hard to believe -- correct!)
Problem 148: "wich" is a typo
Problem 154: "calulate" is a typo
Problem 155: "elecric" is a typo
Problem 158: "characterstrings" is a typo
(I'll let you slide on the double L's in words like cancelled, and the ou in colour as well as the -ise in standardise because people in some very remote parts of the world regard these spellings as -- though it may be hard to believe -- correct!)
- rayfil
- Administrator
- Posts: 1412
- Joined: Sun Mar 26, 2006 5:30 am
- Location: Quebec, Canada
- Contact:
Re: Problem 150 typo
The English language was certainly not invented in the U.S. but adapted in that remote part of the world by immigrants from England who may not have had the highest of education at that time. Correct spelling all depends on perspective, doesn't it?people in some very remote parts of the world
Thanks for spotting and reporting those typos.
When you assume something, you risk being wrong half the time.
-
GraemeMcRae
- Posts: 46
- Joined: Thu Jul 12, 2007 9:59 pm
Re: Problem 150 typo
Indeed. I was kidding, as I think you know. In just about all of the world outside the United States, the U.K. spelling is used, so we're the remote people. I don't know whether education is a factor, but I've heard that when a country is colonized, the language stops developing for a time. It somehow loses whatever momentum it had. The result, 200 years later, is a language in the colony that is very similar to that of the mother country 200 years ago. So not only does our notion of "correct" language vary from place to place, but also from time to time.rayfil wrote:Correct spelling all depends on perspective, doesn't it?
- JamieCamardelle
- Posts: 20
- Joined: Wed May 14, 2008 5:34 am
Problem 150
I wonder if degenerate triangles should be considered - should a single term of the sequence sk be considered a subtriangle sum?
Expand
- jaap
- Posts: 588
- Joined: Tue Mar 25, 2008 3:57 pm
- Contact:
Re: question on problem 150
I think so, that would be a triangle of size 1.JamieCamardelle wrote:I wonder if degenerate triangles should be considered - should a single term of the sequence sk be considered a subtriangle sum?
- ed_r
- Posts: 1009
- Joined: Sun Jul 29, 2007 10:57 am
Re: question on problem 150
Jamie, your hidden text was a bit too close to being a spoiler. So I removed it.
!647 = &8FDF4C
-
elr
- Posts: 67
- Joined: Thu Apr 09, 2009 9:47 am
- rayfil
- Administrator
- Posts: 1412
- Joined: Sun Mar 26, 2006 5:30 am
- Location: Quebec, Canada
- Contact:
Re: Problem 150
Would you consider a single point as a triangle 
When you assume something, you risk being wrong half the time.
-
TripleM
- Posts: 384
- Joined: Fri Sep 12, 2008 3:31 am
- mvaneerde
- Posts: 4
- Joined: Mon Dec 05, 2011 12:06 am
- Location: Redmond, WA
- Contact:
Re: Problem 150
It might be worth considering the following clarification: upside-down triangles are not considered valid.

- rayfil
- Administrator
- Posts: 1412
- Joined: Sun Mar 26, 2006 5:30 am
- Location: Quebec, Canada
- Contact:
Re: Problem 150
From the problem description
Isn't that clear enough? How could you ever make valid upside-down triangles with that definition?Sub-triangles can start at any element of the array and extend down as far as we like (taking-in the two elements directly below it from the next row
When you assume something, you risk being wrong half the time.
-
mdean
- Posts: 206
- Joined: Tue Aug 02, 2011 2:05 am
Re: Problem 150
Just to make it perfectly clear, although chances are it won't be an issue, do triangles of size 1 count?

- mpiotte
- Administrator
- Posts: 1961
- Joined: Tue May 08, 2012 5:40 pm
- Location: Montréal, Canada
Re: Problem 150
Yes they count.mdean wrote:Just to make it perfectly clear, although chances are it won't be an issue, do triangles of size 1 count?
But consider this. What is the minimum value of a triangle of size 1? And what is the mean and standard deviation of a triangle of size k filled with independent random variables distributed according to the generator output? (Ignoring the fact that these are pseudo-random only.)

-
Flood1993
- Posts: 3
- Joined: Fri May 27, 2016 6:39 pm
Re: Problem 150
Could someone confirm the following values? (Generating the triangle the same way)
For 10 rows:
-1***491
For 50 rows:
-1005***9
For 500 rows:
-190***504
Thank you
For 10 rows:
-1***491
For 50 rows:
-1005***9
For 500 rows:
-190***504
Thank you
- dawghaus4
- Posts: 56
- Joined: Fri Nov 29, 2013 2:22 am
-
drassont
- Posts: 6
- Joined: Tue Oct 07, 2025 7:08 pm


