login
Absolute({n concatenate R(n)}-{R(n) concatenate n})/11, where R(n) = digit reversal of n.
2

%I #8 Sep 06 2017 19:14:05

%S 81,0,81,162,243,324,405,486,567,648,162,81,0,81,162,243,324,405,486,

%T 567,243,162,81,0,81,162,243,324,405,486,324,243,162,81,0,81,162,243,

%U 324,405,405,324,243,162,81,0,81,162,243,324,486,405,324,243,162,81

%N Absolute({n concatenate R(n)}-{R(n) concatenate n})/11, where R(n) = digit reversal of n.

%C a(palindrome) = 0. a(n) = a(R(n)).

%H G. C. Greubel, <a href="/A110727/b110727.txt">Table of n, a(n) for n = 10..1000</a>

%F When n has two digits a(n)= 81*abs(x-y), (Here x,y are the digits of n and abs(n) is the absolute value of n.). - _Keith Schneider_, Jun 16 2007

%e a(12) = abs(1221-2112)/11 = 81.

%t Abs[Table[(FromDigits[Join[IntegerDigits[n], Reverse[IntegerDigits[n]]]] - FromDigits[Join[Reverse[IntegerDigits[n]], IntegerDigits[n]]])/11, {n, 10, 60}]] (* _G. C. Greubel_, Sep 06 2017 *)

%Y Cf. A110722, A110723, A110724, A110725, A110726.

%K base,easy,nonn

%O 10,1

%A _Amarnath Murthy_, Aug 09 2005