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.
%I A278112 #13 Sep 08 2022 08:46:17 %S A278112 1,1,2,2,1,1,1,1,1,1,4,3,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,5,4,3,2,2,2, %T A278112 2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,7,5,4,3,3,2,2,2, %U A278112 2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 %N A278112 Triangle T(n,k) = floor(n sqrt(2/k)) for 1 <= k <= 2n^2, read by rows. %H A278112 Jason Kimberley, <a href="/A278112/b278112.txt">Table of n, a(n) for n = 1..11050 (rows 1..25, flattened)</a> %F A278112 T(n,k) = A000196(A278111(n)). %F A278112 T(n,k)sqrt(k) <= n sqrt(2) < (T(n,k)+1)sqrt(k). %e A278112 The first five rows are: %e A278112 1, 1; %e A278112 2, 2, 1, 1, 1, 1, 1, 1; %e A278112 4, 3, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1; %e A278112 5, 4, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1; %e A278112 7, 5, 4, 3, 3, 2, 2, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1; %t A278112 Table[Floor[n Sqrt[2/k]], {n, 5}, {k, 2 n^2}] // Flatten (* _Michael De Vlieger_, Feb 17 2017 *) %o A278112 (Magma) %o A278112 A278112:=func<n,k|Isqrt(2*n^2 div k)>; %o A278112 [[A278112(n,k):k in[1..2*n^2]]:n in[1..5]]; %Y A278112 Cf. A277647. %K A278112 nonn,tabf,easy %O A278112 1,3 %A A278112 _Jason Kimberley_, Feb 09 2017