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)).

Original entry on oeis.org

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

Views

Author

Rémy Sigrist, Mar 03 2024

Keywords

Comments

All positive terms belong to A015976.

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.
		

Crossrefs

Cf. A004086, A015976, A056964, A140900 (base-2 analog).

Programs

  • PARI
    is(n, base = 10) = { my (d = if (n, digits(n, base), [0]), p = d + Vecrev(d)); vecmax(p) < base }