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.

A308311 Numbers n which are palindromic in base b, where b = sum of digits of n in base 10.

Original entry on oeis.org

16, 39, 41, 55, 96, 104, 123, 130, 141, 142, 155, 170, 181, 187, 214, 239, 250, 251, 260, 262, 274, 341, 343, 365, 385, 418, 422, 424, 435, 443, 464, 471, 494, 503, 505, 507, 543, 562, 599, 632, 665, 685, 706, 708, 753, 754, 818, 823, 835, 838, 843, 850, 859
Offset: 1

Views

Author

Metin Sariyar, Sep 26 2019

Keywords

Examples

			41 is a term because 41 = 131 in base 5 = 1 + 4.
		

Crossrefs

Cf. A007632.

Programs

  • Mathematica
    Select[Range[10^5],#==IntegerReverse[#, Total[IntegerDigits[#]]]&]
  • PARI
    isok(n) = my(s=sumdigits(n)); if (s> 1, my(d = digits(n, s)); d == Vecrev(d)); \\ Michel Marcus, Sep 26 2019