cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A055949 n - reversal of base 4 digits of n (written in base 10).

Original entry on oeis.org

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
Offset: 0

Views

Author

Henry Bottomley, Jul 18 2000

Keywords

Comments

a(n) is a multiple of 3.

Examples

			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
		

Crossrefs

Programs

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

Formula

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