[go: up one dir, main page]

login
Search: a110726 -id:a110726
     Sort: relevance | references | number | modified | created      Format: long | short | data
Absolute({n concatenate R(n)}-{R(n) concatenate n})/11, where R(n) = digit reversal of n.
+10
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

Search completed in 0.005 seconds