A037022 Triangle in which row n has the first n digits of sqrt(n) (truncated).
1, 1, 4, 1, 7, 3, 2, 0, 0, 0, 2, 2, 3, 6, 0, 2, 4, 4, 9, 4, 8, 2, 6, 4, 5, 7, 5, 1, 2, 8, 2, 8, 4, 2, 7, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 6, 2, 2, 7, 7, 6, 6, 0, 3, 3, 1, 6, 6, 2, 4, 7, 9, 0, 3, 3, 4, 6, 4, 1, 0, 1, 6, 1, 5, 1, 3, 3, 6, 0, 5, 5, 5, 1, 2, 7, 5, 4, 6, 3, 3, 7, 4, 1, 6, 5, 7, 3
Offset: 1
Examples
Triangle starts: 1; 1, 4; 1, 7, 3; 2, 0, 0, 0; 2, 2, 3, 6, 0; 2, 4, 4, 9, 4, 8; 2, 6, 4, 5, 7, 5, 1; ...
Links
- T. D. Noe, Rows n=1..100 of triangle, flattened
Programs
-
Mathematica
row[n_] := RealDigits[Sqrt[n], 10, n][[1]]; Table[row[n], {n, 1, 14}] // Flatten (* Jean-François Alcover, Dec 03 2016 *)