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 A163330 #13 Jul 04 2025 12:36:47 %S A163330 0,3,1,6,4,2,27,7,5,9,30,28,8,12,10,33,31,29,15,13,11,54,34,32,36,16, %T A163330 14,18,57,55,35,39,37,17,21,19,60,58,56,42,40,38,24,22,20,243,61,59, %U A163330 63,43,41,45,25,23,81,246,244,62,66,64,44,48,46,26,84,82,249,247,245 %N A163330 Square array A, where entry A(y,x) has the ternary digits of y interleaved with the ternary digits of x, converted back to decimal. Listed by antidiagonals: A(0,0), A(0,1), A(1,0), A(0,2), A(1,1), A(2,0), ... %H A163330 A. Karttunen, <a href="/A163330/b163330.txt">Table of n, a(n) for n = 0..3320</a> %H A163330 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a> %F A163330 a(n) = 3*A037314(A025581(n)) + A037314(A002262(n)) %o A163330 (Scheme) (define (A163330 n) (+ (A037314 (A002262 n)) (* 3 (A037314 (A025581 n))))) %Y A163330 Inverse: A163331. a(n) = A163327(A163328(n)). Transpose: A163328. Cf. A007089, A163327, A163332, A163334. %K A163330 nonn,tabl,base,look %O A163330 0,2 %A A163330 _Antti Karttunen_, Jul 29 2009