|
|
A308311
|
|
Numbers n which are palindromic in base b, where b = sum of digits of n in base 10.
|
|
1
|
|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
EXAMPLE
|
41 is a term because 41 = 131 in base 5 = 1 + 4.
|
|
MATHEMATICA
|
Select[Range[10^5], #==IntegerReverse[#, Total[IntegerDigits[#]]]&]
|
|
PROG
|
(PARI) isok(n) = my(s=sumdigits(n)); if (s> 1, my(d = digits(n, s)); d == Vecrev(d)); \\ Michel Marcus, Sep 26 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|