Skip to content · ⁨Saltar al contenido⁩

A row of Pascal's triangle · ⁨Una fila del triángulo de Pascal⁩

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.

Español

Una fila del triángulo de Pascal

Cada número en el triángulo de Pascal es la suma de los dos números situados justo encima, y cada fila comienza y termina con 1.

Construya las filas una a una. Una nueva fila comienza con 1, luego suma cada par adyacente de la fila anterior, row[i] + row[i + 1], y finaliza con 1. Tras n iteraciones, row será la respuesta. En China, este mismo triángulo lleva el nombre de Yang Hui, quien lo describió en 1261.

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP