A361818 For any number k >= 0, let T_k be the triangle whose base corresponds to the ternary expansion of k (without leading zeros) and other values, say t above u and v, satisfy t = (-u-v) mod 3; this sequence lists the numbers k such that T_k has 3-fold rotational symmetry.
0, 1, 2, 4, 8, 13, 26, 34, 40, 46, 59, 65, 80, 112, 121, 130, 224, 233, 242, 304, 364, 424, 518, 578, 728, 772, 862, 925, 1003, 1093, 1183, 1261, 1324, 1414, 1535, 1598, 1688, 1766, 1856, 1919, 2006, 2096, 2186, 2257, 2509, 2734, 3028, 3280, 3532, 3826, 4051
Offset: 1
Examples
The ternary expansion of 304 is "102021", and the corresponding triangle is: 1 0 2 2 1 0 0 1 1 2 2 1 1 1 0 1 0 2 0 2 1 As this triangle has 3-fold rotational symmetry, 304 belongs to the sequence.
Links
- Rémy Sigrist, Triangles illustrating initial terms
- Rémy Sigrist, PARI program
- Index entries for sequences related to XOR-triangles
Programs
-
PARI
See Links section.
Comments