login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A055948
n + reversal of base 4 digits of n (written in base 10).
6
0, 2, 4, 6, 5, 10, 15, 20, 10, 15, 20, 25, 15, 20, 25, 30, 17, 34, 51, 68, 25, 42, 59, 76, 33, 50, 67, 84, 41, 58, 75, 92, 34, 51, 68, 85, 42, 59, 76, 93, 50, 67, 84, 101, 58, 75, 92, 109, 51, 68, 85, 102, 59, 76, 93, 110, 67, 84, 101, 118, 75, 92, 109, 126, 65, 130, 195
OFFSET
0,2
COMMENTS
If n has an even number of digits in base 4 then a(n) is a multiple of 5.
FORMULA
a(n) = n + A030103(n).
MATHEMATICA
Table[n+FromDigits[Reverse[IntegerDigits[n, 4]], 4], {n, 0, 70}] (* Harvey P. Dale, Nov 24 2021 *)
PROG
(Haskell)
a055948 n = n + a030103 n
-- Reinhard Zumkeller, Oct 10 2011
CROSSREFS
Cf. A035524 (iterated).
Sequence in context: A365059 A083718 A319804 * A071083 A141765 A234574
KEYWORD
base,nonn,look
AUTHOR
Henry Bottomley, Jul 18 2000
STATUS
approved