We are independent & ad-supported. We may earn a commission for purchases made through our links.
Advertiser Disclosure
Our website is an independent, advertising-supported platform. We provide our content free of charge to our readers, and to keep it that way, we rely on revenue generated through advertisements and affiliate partnerships. This means that when you click on certain links on our site and make a purchase, we may earn a commission. Learn more.
How We Make Money
We sustain our operations through affiliate commissions and advertising. If you click on an affiliate link and make a purchase, we may receive a commission from the merchant at no additional cost to you. We also display advertisements on our website, which help generate revenue to support our work and keep our content free for readers. Our editorial team operates independently of our advertising and affiliate partnerships to ensure that our content remains unbiased and focused on providing you with the best information and recommendations based on thorough research and honest evaluations. To remain transparent, we’ve provided a list of our current affiliate partners here.
Home

Our Promise to you

Founded in 2002, our company has been a trusted resource for readers seeking informative and engaging content. Our dedication to quality remains unwavering—and will never change. We follow a strict editorial policy, ensuring that our content is authored by highly qualified professionals and edited by subject matter experts. This guarantees that everything we publish is objective, accurate, and trustworthy.

Over the years, we've refined our approach to cover a wide range of topics, providing readers with reliable and practical advice to enhance their knowledge and skills. That's why millions of readers turn to us each year. Join us in celebrating the joy of learning, guided by standards you can trust.

What is Parkside's Triangle?

By Derek Schauland
Updated: Feb 13, 2024

Parkside's Triangle is a mathematical pattern that generates a triangle of numbers given two variables, the size and the seed. The size variable, N, must meet the following condition: 1 <= N <= 20. This means that N can be any number greater than or equal to 1 and any number less than or equal to 20. N must therefore be between 1 and 20 inclusive.

The number N represents the rows of the triangle. If N = 5, then there are 5 rows making up the triangle. The first row of the triangle can have no blank number within it. All positions must contain a number greater than or equal to 1. The other variable is the seed, S, which represents the first number in the first row of the triangle. The seed must meet the following conditions: 1 <= S <= 9. The seed must be greater than or equal to 1 and less than or equal to 9.

When the size and seed variables are known, this particular pattern is produced. An example would look like this:

Size = 4 Seed = 1



1 2 4 7
3 5 8
6 9
1

Size = 5 Seed = 3


3 4 6 9 4

5 7 1 5
8 2 6
3 7
8

The pattern of numbers to create the triangle counts beginning at the left of the bottom row and then moves right and down. Each time the next row is added, all the numbers count from the first row downward. In both directions, Parkside's Triangle will contain the same number of rows.

Many computer programming classes in languages such as C use an example program to create this pattern for any given size and seed. The program will read in the size and the seed and output the correct pattern of numbers. This is accomplished using loop logic and basic arithmetic along with programming skills and can be used to present the fundamentals of loop logic.

Other than the specified size and seed conditions to begin creating the pattern, there are no other limits to Parkside's Triangle. In any iteration, it will have no more than 20 rows and a beginning number no higher than 9. As shown in the example triangle above, there are also no zeroes.

WiseGeek is dedicated to providing accurate and trustworthy information. We carefully select reputable sources and employ a rigorous fact-checking process to maintain the highest standards. To learn more about our commitment to accuracy, read our editorial process.

Related Articles

Discussion Comments
Share
https://www.wise-geek.com/what-is-parksides-triangle.htm
WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.

WiseGeek, in your inbox

Our latest articles, guides, and more, delivered daily.