A132149 Duplicate of A129235.
1, 4, 6, 11, 10, 20, 14
Offset: 0
This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
First few rows of the triangle: 1; 2, 2; 3, 0, 3; 4, 3, 0, 4; 5, 0, 0, 0, 5; 6, 4, 4, 0, 0, 6; 7, 0, 0, 0, 0, 0, 7; ...
T:=proc(n,k) if n mod k = 0 then n/k+k-1 else 0 fi end: for n from 1 to 16 do seq(T(n,k),k=1..n) od; # yields sequence in triangular form - Emeric Deutsch, Apr 17 2007
T[n_,k_]:=If[Mod[n,k]==0,n/k+k-1,0];Table[T[n,k],{n,14},{k,n}]//Flatten (* James C. McMahon, Jan 17 2025 *)
row(n) = vector(n, k, if (!(n%k), n/k + k - 1, 0)); \\ Michel Marcus, Jan 17 2025
First few rows of the triangle: 1; 3, 1; 5, 0, 1; 7, 3, 0, 1; 9, 0, 0, 0, 1; 11, 5, 3, 0, 0, 1; 13, 0, 0, 0, 0, 0, 1; 15, 7, 0, 3, 0, 0, 0, 1; ...
First few rows of the triangle: 1; 1, 2; 2, 0, 3; 2, 1, 0, 4; 4, 0, 0, 0, 5; 2, 2, 1, 0, 0, 6; 6, 0, 0, 0, 0, 0, 7; 4, 2, 0, 1, 0, 0, 0, 8; ...
First few rows of the triangle: 1; 3, 2; 4, 0, 3; 7, 5, 0, 4; 6, 0, 0, 0, 5; 12, 6, 7, 0, 0, 6; 8, 0, 0, 0, 0, 0, 7; 15, 10, 0, 9, 0, 0, 0, 8; ...
First few rows of the triangle: 1; 3, 1; 4, 1, 1; 7, 2, 1, 1; 6, 1, 1, 1, 1; 12, 3, 2, 1, 1, 1; 8, 1, 1, 1, 1, 1, 1; ...
First few rows of the triangle = 1; 2, 2; 2, 2, 2; 3, 4, 2, 2; 2, 2, 2, 2, 2; 4, 6, 4, 2, 2, 2; 2, 2, 2, 2, 2, 2, 2; ...
First few rows of the triangle: 1; 2, 2; 2, 1, 3; 3, 3, 1, 4; 2, 1, 1, 1, 5; 4, 4, 4, 1, 1, 6; 2, 1, 1, 1, 1, 1, 7; ...
First few rows of the triangle: 1; 3, 1; 4, 1, 1; 7, 2, 1, 1; 7, 1, 0, 1, 1; 12, 4, 2, 0, 1, 1; ...
First few rows of the triangle: 1; 1, 3; 1, 0, 5; 1, 3, 0, 7; 1, 0, 0, 0, 9; 1, 3, 5, 0, 0, 11; 1, 0, 0, 0, 0, 0, 13; 1, 3, 0, 7, 0, 0, 0, 15; ...
Comments