cp's OEIS Frontend

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.

A352877 Lexicographically earliest sequence of distinct nonnegative terms such that two consecutive terms can be added without carries in base 3.

This page as a plain text file.
%I A352877 #9 Apr 09 2022 13:15:15
%S A352877 0,1,3,2,6,9,4,10,7,18,5,12,11,15,27,8,36,13,28,16,37,30,14,39,29,21,
%T A352877 31,19,33,20,54,17,63,81,22,55,24,56,84,23,57,82,25,108,26,135,83,42,
%U A352877 38,87,45,32,48,85,40,90,34,46,88,64,91,43,109,49,111,41,93
%N A352877 Lexicographically earliest sequence of distinct nonnegative terms such that two consecutive terms can be added without carries in base 3.
%C A352877 This sequence is a permutation of the positive integers, analogous to A109812 and A252022.
%H A352877 Rémy Sigrist, <a href="/A352877/a352877.gp.txt">PARI program</a>
%H A352877 <a href="/index/Per#IntegerPermutation">Index entries for sequences that are permutations of the natural numbers</a>
%e A352877 The first terms, alongside their ternary expansions, are:
%e A352877   n   a(n)  ter(a(n))
%e A352877   --  ----  ---------
%e A352877    0     0          0
%e A352877    1     1          1
%e A352877    2     3         10
%e A352877    3     2          2
%e A352877    4     6         20
%e A352877    5     9        100
%e A352877    6     4         11
%e A352877    7    10        101
%e A352877    8     7         21
%e A352877    9    18        200
%e A352877   10     5         12
%e A352877   11    12        110
%e A352877   12    11        102
%o A352877 (PARI) See Links section.
%Y A352877 Cf. A109812 (binary analog), A252022 (decimal analog).
%K A352877 nonn,base
%O A352877 0,3
%A A352877 _Rémy Sigrist_, Apr 06 2022