OFFSET
0,2
COMMENTS
LINKS
Zak Seidov and Michael De Vlieger, Table of n, a(n) for n = 0..9999 (First 1000 terms from Zak Seidov)
Nick Hobson, Python program for this sequence
EXAMPLE
E.g., n = 19 -> 19 + 91 = 110.
MATHEMATICA
f[n_]:=Module[{sidn=Sort[IntegerDigits[n]]}, FromDigits[sidn]+ FromDigits[ Reverse[sidn]]]; Array[f, 70, 0] (* Harvey P. Dale, Nov 13 2011 *)
PROG
(Haskell)
a052008 n = a004185 n + a004186 n -- Reinhard Zumkeller, Jun 07 2015
(PARI) for(n=0, 100, D=digits(n); R=Vecrev(D); print1(sum(i=1, #D, 10^(i-1)*(D[i]+R[i])), ", ")) \\ Derek Orr, Feb 26 2017
CROSSREFS
KEYWORD
AUTHOR
Patrick De Geest, Nov 15 1999
STATUS
approved