Floyd's triangle explained

Floyd's triangle is a triangular array of natural numbers used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner:

1
23
456
78910
1112131415
The problem of writing a computer program to produce this triangle has been frequently used as an exercise or example for beginning computer programmers, covering the concepts of text formatting and simple loop constructs.[1] [2]

Properties

1            = 1 = T(T(1))

1            = 6 = T(T(2)) 2 + 3

1 2 + 3     = 21 = T(T(3))4 + 5 + 6

See also

External links

Notes and References

  1. .
  2. .
  3. .