login
A370842
Numbers k that can be added without carries to their digit reversal (A004086(k)).
0
0, 1, 2, 3, 4, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 40, 41, 42, 43, 44, 45, 50, 51, 52, 53, 54, 60, 61, 62, 63, 70, 71, 72, 80, 81, 90, 100, 101, 102, 103, 104, 105, 106, 107, 108, 110, 111, 112, 113
OFFSET
1,3
COMMENTS
All positive terms belong to A015976.
EXAMPLE
42 belongs to the sequence as 42 + 24 does not lead to carries.
48 does not belong to the sequence as 48 + 84 leads to carries.
PROG
(PARI) is(n, base = 10) = { my (d = if (n, digits(n, base), [0]), p = d + Vecrev(d)); vecmax(p) < base }
CROSSREFS
Cf. A004086, A015976, A056964, A140900 (base-2 analog).
Sequence in context: A329230 A119798 A015976 * A098892 A174139 A037325
KEYWORD
nonn,base,easy
AUTHOR
Rémy Sigrist, Mar 03 2024
STATUS
approved