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.

A370842 Numbers k that can be added without carries to their digit reversal (A004086(k)).

This page as a plain text file.
%I A370842 #4 Mar 04 2024 08:47:57
%S A370842 0,1,2,3,4,10,11,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,30,31,
%T A370842 32,33,34,35,36,40,41,42,43,44,45,50,51,52,53,54,60,61,62,63,70,71,72,
%U A370842 80,81,90,100,101,102,103,104,105,106,107,108,110,111,112,113
%N A370842 Numbers k that can be added without carries to their digit reversal (A004086(k)).
%C A370842 All positive terms belong to A015976.
%e A370842 42 belongs to the sequence as 42 + 24 does not lead to carries.
%e A370842 48 does not belong to the sequence as 48 + 84 leads to carries.
%o A370842 (PARI) is(n, base = 10) = { my (d = if (n, digits(n, base), [0]), p = d + Vecrev(d)); vecmax(p) < base }
%Y A370842 Cf. A004086, A015976, A056964, A140900 (base-2 analog).
%K A370842 nonn,base,easy
%O A370842 1,3
%A A370842 _Rémy Sigrist_, Mar 03 2024