OFFSET
1,1
COMMENTS
10 <= a(n) <= 99; a(a(n))=a(n).
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
a(12321)=11; a(3210123)=33; a(59387)=57; a(8923)=83.
MATHEMATICA
Table[FromDigits[{First[x = IntegerDigits[n]], Last[x]}], {n, 69}] (* Jayanta Basu, Jul 08 2013 *)
PROG
(PARI) a(n)=10*digits(n)[1]+n%10 \\ Charles R Greathouse IV, Dec 28 2012
(Haskell)
a073729 n = 10 * a000030 n + a010879 n -- Reinhard Zumkeller, Dec 31 2012
CROSSREFS
KEYWORD
AUTHOR
Reinhard Zumkeller, Aug 05 2002
STATUS
approved