OFFSET
0,4
COMMENTS
LINKS
Rémy Sigrist, Table of n, a(n) for n = 0..6560
Rémy Sigrist, Scatterplot of the first 3^10 terms
Rémy Sigrist, PARi program for A343766
FORMULA
EXAMPLE
The first terms, alongside their balanced ternary expansion (with T's denoting -1's), are:
n a(n) bter(a(n))
-- ---- ----------
0 0 0
1 -1 T
2 1 1
3 -2 T1
4 -4 TT
5 -3 T0
6 3 10
7 2 1T
8 4 11
9 -5 T11
10 -7 T1T
11 -6 T10
12 -12 TT0
13 -13 TTT
14 -11 TT1
PROG
(PARI) See Links section.
CROSSREFS
KEYWORD
sign,base
AUTHOR
Rémy Sigrist, Apr 28 2021
STATUS
approved