Skip to content · ⁨דלג לתוכן⁩

A row of Pascal's triangle · ⁨שורה במשולש פסקל⁩

English

A row of Pascal's triangle

Every number in Pascal's triangle is the sum of the two numbers just above it, and every row starts and ends with 1.

Build the rows one at a time. A new row starts with 1, then adds each neighbouring pair of the previous row, row[i] + row[i + 1], and ends with 1. After n rounds, row is the answer. In China the same triangle is named after Yang Hui, who described it in 1261.

עברית

שורה במשולש פסקל

כל מספר במשולש פסקל הוא סכום שני המספרים הישר מעליו, וכל שורה מתחילה ומסתיימת ב1.

לבנות את השורות אחת אחת. שורה חדשה מתחילה ב1, מוסיפה כל זוג שכנים מהשורה הקודמת, row[i] + row[i + 1], ומסתיימת ב1. לאחר n מחזוריים, row הוא התשובה. בסין משולש זה קרוי על שם יאנג הוי, שתיאר אותו ב-1261.

Log in or create account · ⁨היכנס או צור חשבון⁩

IGCSE, A-Level & AP