login
This site is supported by donations to The OEIS Foundation.

 

Logo

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!)
A055949 n - reversal of base 4 digits of n (written in base 10). 1
0, 0, 0, 0, 3, 0, -3, -6, 6, 3, 0, -3, 9, 6, 3, 0, 15, 0, -15, -30, 15, 0, -15, -30, 15, 0, -15, -30, 15, 0, -15, -30, 30, 15, 0, -15, 30, 15, 0, -15, 30, 15, 0, -15, 30, 15, 0, -15, 45, 30, 15, 0, 45, 30, 15, 0, 45, 30, 15, 0, 45, 30, 15, 0, 63, 0, -63, -126, 51, -12, -75, -138, 39, -24, -87, -150, 27, -36, -99, -162, 75, 12, -51 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,5

COMMENTS

a(n) is a multiple of 3.

LINKS

Indranil Ghosh, Table of n, a(n) for n = 0..20000

FORMULA

a(n) = n - A030103(n).

EXAMPLE

For n = 6, the reversal of base 4 digits of n (written in base 10) is 9. So, a(6) = 6 - 9 = -3. - Indranil Ghosh, Feb 01 2017

MATHEMATICA

Table[n-FromDigits[Reverse[IntegerDigits[n, 4]], 4], {n, 0, 90}] (* Harvey P. Dale, Aug 22 2011 *)

CROSSREFS

Cf. A030103, A056965.

Sequence in context: A010599 A226568 A038517 * A165012 A198126 A074694

Adjacent sequences:  A055946 A055947 A055948 * A055950 A055951 A055952

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 12 07:31 EST 2019. Contains 329948 sequences. (Running on oeis4.)