login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A115299 Greatest digit of n + least digit of n. Different from A088133. 3
2, 4, 6, 8, 10, 12, 14, 16, 18, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 8, 9, 10, 11, 12, 13, 14 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(101) = 1 and A088133(101) = 2, but all previous terms match.
LINKS
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
Cf. A037904 (greatest-least), A115300 (greatest*least), A088133 (first+last).
Sequence in context: A074157 A076309 A088133 * A076312 A061762 A136614
KEYWORD
base,nonn
AUTHOR
Rick L. Shepherd, Jan 20 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 04:34 EDT 2024. Contains 372300 sequences. (Running on oeis4.)