login
RATS(2^n): Reverse Add the digits of 2^n, Then Sort: a(n) = A036839(2^n).
2

%I #22 Feb 08 2020 00:15:35

%S 2,4,8,16,77,55,11,499,89,277,2255,145,11,1111,44567,111499,12299,

%T 1234,3467,113467,677789,144556,1222889,14445667,4577789,55669999,

%U 1134899,11356999,12237899,445557799,1223555555,11113366,1122222266

%N RATS(2^n): Reverse Add the digits of 2^n, Then Sort: a(n) = A036839(2^n).

%C A114611(a(n)) = 0, as A114611(A000079(n)) = 0. - _Reinhard Zumkeller_, Mar 14 2012

%H Reinhard Zumkeller, <a href="/A066713/b066713.txt">Table of n, a(n) for n = 0..1000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/RATSSequence.html">RATS Sequence</a>

%o (Haskell)

%o a066713 = a036839 . (2 ^) -- _Reinhard Zumkeller_, Mar 14 2012

%o (Python)

%o def A066713(n):

%o m = 2**n

%o return int(''.join(sorted(str(m+int(str(m)[::-1]))))) # _Chai Wah Wu_, Feb 07 2020

%Y See A004000, A036839 for more information.

%K nonn,base

%O 0,1

%A _N. J. A. Sloane_, Jan 19 2002