cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A088133 Sum of first and last digits of n. Different from A115299.

This page as a plain text file.
%I A088133 #10 Apr 24 2024 13:00:11
%S A088133 0,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,
%T A088133 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,
%U A088133 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
%N A088133 Sum of first and last digits of n. Different from A115299.
%F A088133 a(n) = A000030(n) + A010879(n). - _M. F. Hasler_, Apr 22 2024
%t A088133 Total[{First[IntegerDigits[#]],Last[IntegerDigits[#]]}]&/@Range[90] (* _Harvey P. Dale_, Aug 21 2018 *)
%o A088133 (PARI) apply( {A088133(n)=n\10^logint(n+!n, 10)+n%10}, [0..99]) \\ _M. F. Hasler_, Apr 22 2024
%o A088133 (Python) list(map(A088133 := lambda n: int(str(n)[0])+n%10, range(99))) # _M. F. Hasler_, Apr 22 2024
%Y A088133 Cf. A000030 (first digit of n), A010879 (last digit of n).
%Y A088133 Cf. A046704, A007953, A088134, A088135, A088136.
%K A088133 easy,nonn,base
%O A088133 0,2
%A A088133 _Zak Seidov_, Sep 20 2003
%E A088133 Extended to a(0) = 0 by _M. F. Hasler_, Apr 22 2024