OFFSET
0,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
When n has one digit, a(n)=22*n. When n has two digits, a(n)= 1111*x + 1111*y. (Here x,y are the digits of n.) - Keith Schneider, Jun 16 2007
EXAMPLE
a(12) = 1221 + 2112 = 3333.
a(68) = 6886 + 8668 = 15554.
MATHEMATICA
Table[FromDigits[Join[IntegerDigits[n], Reverse[IntegerDigits[n]]]] + FromDigits[Join[Reverse[IntegerDigits[n]], IntegerDigits[n]]], {n, 0, 50}] (* Stefan Steinerberger, Jun 17 2007 *)
CROSSREFS
KEYWORD
base,easy,nonn,less
AUTHOR
Amarnath Murthy, Aug 09 2005
EXTENSIONS
Corrected and extended by Stefan Steinerberger, Jun 17 2007
STATUS
approved