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 A374462 #6 Jul 13 2024 07:44:16 %S A374462 1,1,-1,2,1,2,1,-1,-1,-2,1,1,1,-1,1,1,-1,-1,-2,-1,-1,3,2,3,1,3,2,3,2, %T A374462 -1,1,-2,2,-1,2,-3,1,1,1,-1,1,-1,1,-2,1,1,-1,-1,-2,-1,-1,-1,-3,-2,-1, %U A374462 2,1,2,1,2,1,2,-1,2,1,2,1,-1,-1,-2,-1,-1,-1,-3,-2,-1,-1,-2 %N A374462 Triangle T(n, k), n > 1, k = 1..n-1, read by rows; T(n, k) equals the p-adic valuation of n minus the p-adic valuation of k where p is the least prime number such that this quantity is nonzero. %C A374462 See A374451 for the corresponding prime numbers. %H A374462 Rémy Sigrist, <a href="/A374462/a374462.png">Scatterplot of (x, y) such that T(x, y) > 0 and x <= 2^9</a> %F A374462 T(n, 1) = A067029(n). %F A374462 T(n, n-1) = A094267(n-2). %e A374462 Triangle T(n, k) begins: %e A374462 n n-th row %e A374462 -- ------------------------------------- %e A374462 2 1 %e A374462 3 1, -1 %e A374462 4 2, 1, 2 %e A374462 5 1, -1, -1, -2 %e A374462 6 1, 1, 1, -1, 1 %e A374462 7 1, -1, -1, -2, -1, -1 %e A374462 8 3, 2, 3, 1, 3, 2, 3 %e A374462 9 2, -1, 1, -2, 2, -1, 2, -3 %e A374462 10 1, 1, 1, -1, 1, -1, 1, -2, 1 %e A374462 11 1, -1, -1, -2, -1, -1, -1, -3, -2, -1 %e A374462 12 2, 1, 2, 1, 2, 1, 2, -1, 2, 1, 2 %o A374462 (PARI) T(n, k) = { forprime (p = 2, oo, my (d = valuation(n, p) - valuation(k, p)); if (d, return (d); ); ); } %Y A374462 Cf. A067029, A094267, A374381, A374451. %K A374462 sign,tabl %O A374462 2,4 %A A374462 _Rémy Sigrist_, Jul 09 2024