(Translated by https://www.hiragana.jp/)
A055955 - OEIS
login
A055955
a(n) = n - reversal of base 7 digits of n (written in base 10).
0
0, 0, 0, 0, 0, 0, 0, 6, 0, -6, -12, -18, -24, -30, 12, 6, 0, -6, -12, -18, -24, 18, 12, 6, 0, -6, -12, -18, 24, 18, 12, 6, 0, -6, -12, 30, 24, 18, 12, 6, 0, -6, 36, 30, 24, 18, 12, 6, 0, 48, 0, -48, -96, -144, -192, -240, 48, 0, -48, -96, -144, -192, -240, 48, 0, -48, -96, -144, -192, -240, 48, 0, -48, -96, -144, -192, -240
OFFSET
0,8
COMMENTS
a(n) is a multiple of 6.
FORMULA
a(n) = n - A030106(n).
MATHEMATICA
Table[n-FromDigits[Reverse[IntegerDigits[n, 7]], 7], {n, 0, 80}] (* Harvey P. Dale, Jul 22 2015 *)
CROSSREFS
Sequence in context: A198752 A141462 A354330 * A165071 A341483 A223033
KEYWORD
base,sign
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved