A370842 Numbers k that can be added without carries to their digit reversal (A004086(k)).
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
Examples
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.
Programs
-
PARI
is(n, base = 10) = { my (d = if (n, digits(n, base), [0]), p = d + Vecrev(d)); vecmax(p) < base }
Comments