This site is supported by donations to The OEIS Foundation.

 Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing. Other ways to donate

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A055947 n - reversal of base 3 digits of n (written in base 10). 2
 0, 0, 0, 2, 0, -2, 4, 2, 0, 8, 0, -8, 8, 0, -8, 8, 0, -8, 16, 8, 0, 16, 8, 0, 16, 8, 0, 26, 0, -26, 20, -6, -32, 14, -12, -38, 32, 6, -20, 26, 0, -26, 20, -6, -32, 38, 12, -14, 32, 6, -20, 26, 0, -26, 52, 26, 0, 46, 20, -6, 40, 14, -12, 58, 32, 6, 52, 26, 0, 46, 20, -6, 64, 38, 12, 58, 32, 6, 52, 26, 0, 80, 0, -80, 56, -24, -104, 32, -48 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,4 COMMENTS a(n) is even. LINKS Indranil Ghosh, Table of n, a(n) for n = 0..20000 FORMULA a(n) = n - A030102(n). EXAMPLE For n = 5, the reversal of base 3 digits of n (written in base 10) is 7. So, a(5) = 5 - 7 = -2. - Indranil Ghosh, Feb 01 2017 PROG (PARI) a(n) = n - fromdigits(Vecrev(digits(n, 3)), 3); \\ Michel Marcus, Aug 09 2019 CROSSREFS Cf. A030102, A056965. Sequence in context: A092741 A144182 A037036 * A015910 A182256 A164993 Adjacent sequences:  A055944 A055945 A055946 * A055948 A055949 A055950 KEYWORD base,sign AUTHOR Henry Bottomley, Jul 18 2000 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 December 10 04:04 EST 2019. Contains 329885 sequences. (Running on oeis4.)