OFFSET
1,1
COMMENTS
a(101) = 1 and A088133(101) = 2, but all previous terms match.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
EXAMPLE
a(1) = 1 + 1 = 2, a(232) = 3 + 2 = 5, a(1889009898) = 9 + 0 = 9.
MATHEMATICA
Array[Max[#] + Min[#] &@ IntegerDigits[#] &, 120] (* Michael De Vlieger, Dec 12 2023 *)
PROG
(Python)
def a(n): d = list(map(int, str(n))); return max(d) + min(d)
print([a(n) for n in range(1, 87)]) # Michael S. Branicky, Dec 12 2023
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, Jan 20 2006
STATUS
approved