OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
a(19) = 19 + 9 = 28.
a(77) = 77 + 7 = 84.
MATHEMATICA
#+Max[IntegerDigits[#]]&/@Range[100] (* Harvey P. Dale, May 03 2024 *)
PROG
(Haskell)
a095815 n = n + fromIntegral (a054055 n) -- Reinhard Zumkeller, Aug 23 2011
(Python)
def A095815(n): return n + max(int(d) for d in str(n)) # Chai Wah Wu, Jun 06 2022
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Jason Earls, Jul 10 2004
STATUS
approved