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 A378001 #8 Nov 17 2024 07:24:05 %S A378001 2,15,99,722,8410,123813,2177847,44317852,1023457869,26432595075, %T A378001 754777789018,23609224082310,802772380561983,29480883458980947, %U A378001 1162849439785414095,49030176097150565512,2200618769387073010719,104753196945250864019109,5271200265927977839358758 %N A378001 a(n) is the (n-1)-th positive integer that is digitally balanced in base n. %H A378001 Paolo Xausa, <a href="/A378001/b378001.txt">Table of n, a(n) for n = 2..300</a> %F A378001 a(n) = A378000(n, n-1). %t A378001 Quiet[Needs["Combinatorica`"]]; %t A378001 A378001[n_] := FromDigits[UnrankPermutation[(n - 1)! + n - 2, Range[0, n - 1]], n]; %t A378001 Array[A378001, 20, 2] %Y A378001 Main diagonal of A378000. %K A378001 nonn,base %O A378001 2,1 %A A378001 _Paolo Xausa_, Nov 14 2024