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
KEYWORD
base,sign
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved