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”).

A110727
Absolute({n concatenate R(n)}-{R(n) concatenate n})/11, where R(n) = digit reversal of n.
2
81, 0, 81, 162, 243, 324, 405, 486, 567, 648, 162, 81, 0, 81, 162, 243, 324, 405, 486, 567, 243, 162, 81, 0, 81, 162, 243, 324, 405, 486, 324, 243, 162, 81, 0, 81, 162, 243, 324, 405, 405, 324, 243, 162, 81, 0, 81, 162, 243, 324, 486, 405, 324, 243, 162, 81
OFFSET
10,1
COMMENTS
a(palindrome) = 0. a(n) = a(R(n)).
LINKS
FORMULA
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
EXAMPLE
a(12) = abs(1221-2112)/11 = 81.
MATHEMATICA
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 *)
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Amarnath Murthy, Aug 09 2005
STATUS
approved