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 A183904 #9 Oct 11 2023 15:53:37 %S A183904 3,1,4,5,7,5,1,14,17,6,3,5,38,25,7,1,24,66,70,34,8,5,1,130,174,111,44, %T A183904 9,1,22,136,364,329,162,55,10,3,9,243,664,771,539,224,67,11,1,12,242, %U A183904 1160,1720,1386,815,298,80,12,5,3,385,1866,3347,3491,2281,1169,385,94,13,1,50 %N A183904 T(n,k) = Number of nondecreasing arrangements of n+3 numbers in 0..k with each number being the sum mod (k+1) of three others. %H A183904 R. H. Hardin, <a href="/A183904/b183904.txt">Table of n, a(n) for n = 1..176</a> %e A183904 Table starts: %e A183904 ..3..1...5....1....3.....1.....5......1......3......1......5......1......3 %e A183904 ..4..7..14....5...24.....1....22......9.....12......3.....50......1......4 %e A183904 ..5.17..38...66..130...136...243....242....385....251....593....257....624 %e A183904 ..6.25..70..174..364...664..1160...1866...2768...3666...5646...6253...8846 %e A183904 ..7.34.111..329..771..1720..3347...6503..10734..17926..28720..42251..61524 %e A183904 ..8.44.162..539.1386..3491..7416..15973..29070..54543..93776.157192.247014 %e A183904 ..9.55.224..815.2281..6263.14376..33236..65672.132796.243172.442027 %e A183904 .10.67.298.1169.3534.10400.25584..62678.132778.284451.550980 %e A183904 .11.80.385.1614.5236.16357.42852.110487.248816.559841 %e A183904 .12.94.486.2164.7492.24694.68552.185231.440772 %e A183904 Some solutions for n=3 and k=2: %e A183904 ..0....0....0....0....0....0....0....0....0....0....0....1....0....0....0....0 %e A183904 ..0....0....0....0....0....0....0....0....1....1....0....1....0....1....0....1 %e A183904 ..2....0....0....0....0....1....0....0....1....1....1....1....0....1....1....2 %e A183904 ..2....2....1....1....0....1....0....1....1....1....2....2....0....2....1....2 %e A183904 ..2....2....1....1....2....1....1....2....2....1....2....2....0....2....2....2 %e A183904 ..2....2....1....2....2....1....1....2....2....2....2....2....0....2....2....2 %K A183904 nonn,tabl %O A183904 1,1 %A A183904 _R. H. Hardin_, Jan 07 2011