EXAPUNKS

EXAPUNKS

Not enough ratings
PASCAL'S TRIANGLE (NUMBER SEQUENCES)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
1.791 KB
25 Aug, 2018 @ 5:12am
1 Change Note ( view )

Subscribe to download
PASCAL'S TRIANGLE (NUMBER SEQUENCES)

In 1 collection by JereTheJuggler
JereTheJuggler's Custom Exapunks Levels
8 items
Description
Pascal's Triangle is a famous infinite series of numbers that are stacked on top of each other to form a triangle. Each layer of the triangle has 1 more number than the previous row, and each number in the row is defined as being the sum of the 2 digits above it in the previous row.

You are given a file that contains a number that tells you which row of Pascal's Triangle you need to calculate, and your job is to write the contents of that row to a file in you home.

This one is a pretty easy level. My solution (optimizing size more than anything else) scored 660 Cycles, 31 Size, and 1 Activity


You can find out more about Pascal's Triangle here: https://en.wikipedia.org/wiki/Pascal%27s_triangle
It actually contains a lot of interesting properties pertaining to triangle numbers, square numbers, the Fibonacci Sequence, prime numbers, and more!