login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

n + reversal of base 4 digits of n (written in base 10).
6

%I #20 Aug 08 2024 06:37:20

%S 0,2,4,6,5,10,15,20,10,15,20,25,15,20,25,30,17,34,51,68,25,42,59,76,

%T 33,50,67,84,41,58,75,92,34,51,68,85,42,59,76,93,50,67,84,101,58,75,

%U 92,109,51,68,85,102,59,76,93,110,67,84,101,118,75,92,109,126,65,130,195

%N n + reversal of base 4 digits of n (written in base 10).

%C If n has an even number of digits in base 4 then a(n) is a multiple of 5.

%H Reinhard Zumkeller, <a href="/A055948/b055948.txt">Table of n, a(n) for n = 0..10000</a>

%H <a href="/index/Res#RAA">Index entries for sequences related to Reverse and Add!</a>

%F a(n) = n + A030103(n).

%t Table[n+FromDigits[Reverse[IntegerDigits[n,4]],4],{n,0,70}] (* _Harvey P. Dale_, Nov 24 2021 *)

%o (Haskell)

%o a055948 n = n + a030103 n

%o -- _Reinhard Zumkeller_, Oct 10 2011

%Y Cf. A030103, A056964.

%Y Cf. A035524 (iterated).

%K base,nonn,look

%O 0,2

%A _Henry Bottomley_, Jul 18 2000