The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A180019 Difference of sums of digits of n in decimal and in ternary representation. 5
 0, 0, 0, 2, 2, 2, 4, 4, 4, 8, -1, -1, 1, 1, 1, 3, 3, 3, 7, 7, -2, 0, 0, 0, 2, 2, 2, 8, 8, 8, 1, 1, 1, 3, 3, 3, 7, 7, 7, 9, 0, 0, 2, 2, 2, 6, 6, 6, 8, 8, -1, 1, 1, 1, 7, 7, 7, 9, 9, 9, 2, 2, 2, 6, 6, 6, 8, 8, 8, 10, 1, 1, 5, 5, 5, 7, 7, 7, 9, 9, 0, 8, 8, 8, 10, 10, 10, 12, 12, 12, 7, 7, 7, 9, 9, 9, 11, 11, 11 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 COMMENTS a(n) = A007953(n) - A053735(n); a(A037315(n)) = 0; a(A011557(n)) = 1 - A053735(A011557(n)); a(A000244(n)) = A007953(A000244(n)) - 1; a(A002283(n)) = A008591(n) - A053735(A002283(n)); a(A024023(n)) = A007953(A024023(n)) - 2*n. LINKS R. Zumkeller, Table of n, a(n) for n = 0..10000 CROSSREFS Cf. A180017, A180018, A007089. Sequence in context: A218084 A240046 A001584 * A274496 A112801 A173862 Adjacent sequences:  A180016 A180017 A180018 * A180020 A180021 A180022 KEYWORD base,sign AUTHOR Reinhard Zumkeller, Aug 06 2010 STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified February 26 21:58 EST 2020. Contains 332295 sequences. (Running on oeis4.)