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 A345359 #11 Jun 21 2021 03:04:59 %S A345359 0,1,3,4,9,10,12,27,28,30,31,36,81,82,84,85,90,93,108,243,244,246,247, %T A345359 252,253,255,270,279,324,729,730,732,733,738,739,741,756,759,765,810, %U A345359 837,972,2187,2188,2190,2191,2196,2197,2199,2214,2215,2217,2218,2223 %N A345359 Lexicographically earliest sequence of distinct nonnegative integers such that the product of two terms, not necessarily distinct, can be computed without carry in base 3. %C A345359 All terms belong to A005836. %C A345359 If m is a term, then 3*m is also a term (in particular, all powers of 3 appear in the sequence). %C A345359 The representation of the 1's in the ternary expansion of consecutive terms has interesting features (see illustration in Links section). %H A345359 Rémy Sigrist, <a href="/A345359/b345359.txt">Table of n, a(n) for n = 1..2500</a> %H A345359 Rémy Sigrist, <a href="/A345359/a345359.png">Binary plot of (n, A289831(a(n))) for n = 1..255</a> (representation of the 1's in the ternary expansion of the first 255 terms) %H A345359 Rémy Sigrist, <a href="/A345359/a345359.gp.txt">PARI program for A345359</a> %F A345359 A053735(a(m) * a(n)) = A053735(a(m)) * A053735(a(n)). %o A345359 (PARI) See Links section. %Y A345359 Cf. A005836, A053735, A131577 (binary analog), A289831, A345358 (decimal analog). %K A345359 nonn,base %O A345359 1,3 %A A345359 _Rémy Sigrist_, Jun 16 2021