login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A274107
(Balanced ternary representation of n) - (reversed balanced ternary representation of n).
3
0, 0, 1, 2, 0, 13, -1, -9, 4, 8, 0, 13, 8, 0, 49, 17, -9, 34, -7, -33, 10, -13, -39, 28, -4, -30, 13, 26, 0, 43, 20, -6, 61, 29, 3, 46, 32, 6, 49, 26, 0, 157, 71, -9, 124, 29, -51, 82, 5, -75, 130, 44, -36, 97, -25, -105, 28, -49, -129, 76, -10, -90, 43, -25, -105, 28, -49, -129, 100, 14, -66
OFFSET
0,4
COMMENTS
This is A117966(n) - A134028(n).
As the graph shows, there are large jumps at places where either A117966 or A134028 has a discontinuity, that is, at values of n which are a power of 3 times 1, 1.5, or 2. - N. J. A. Sloane, Jul 03 2016
LINKS
CROSSREFS
Sequence in context: A193202 A294463 A107700 * A122688 A293936 A110685
KEYWORD
sign,look,base
AUTHOR
N. J. A. Sloane, Jun 16 2016
STATUS
approved