Submit an Entry

To enter the challenge, you need to signup or login.

This Challenge's Best Entries [View All]

(View the Overall | Perl | PHP | Python | Ruby leaderboard.)

Rank User Size Language Score [?]
1st jojo 39 Perl 10,000 (v14)
2nd robin 39 Perl 10,000 (v14)
3rd carldr 39 Perl 10,000 (v40)
4th terjek 39 Perl 10,000 (v11)
5th queball 41 Perl 9,512 (v7)
6th Qube 41 Perl 9,512 (v5)
7th Zeithase 41 Perl 9,512 (v6)
8th ozy4dm 41 Perl 9,512 (v9)
9th kounoike 41 Perl 9,512 (v30)
10th shinh 42 Perl 9,285 (v23)

See who is active in this challenge →

Pascal's Triangle

(Challenge added 714 days ago.)

Not-very-geometric arrangement of the binomial coefficients in a sort-of-triangle.

Discuss This Challenge →

The Problem

Codegolf's seventh challenge is a return to the nice and simple. You have to print the first 34 rows of Pascal's Triangle, without having to worry about fancy formatting.

If you need any help with generating the triangle, you should read How Pascal's Triangle is Constructed and Wikipedia's Pascal's Triange Page.

The Output

Your code needs to match the following output exactly :

View the required output →