|
|
A162572
|
|
Decimal numbers n which, when converted to a lower number base, show the reversed digits of n.
|
|
0
|
|
|
1, 2, 3, 4, 5, 6, 7, 8, 13, 23, 46, 445, 2116, 15226, 313725, 1527465, 3454446, 2426472326, 3066511287, 102461381175475216
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
All entries lack the digit 9, because this digit is absent in the representations in bases 2 to 9.
The sequence is finite because for every n > 10^22 the representation of n in a base b < 10 has more digits than the representation of n in base 10. a(20) is the last term. - Giovanni Resta, Aug 13 2019
|
|
LINKS
|
|
|
EXAMPLE
|
13 is 31 in base 4. 23 is 32 in base 7. 46 is 64 in base 7.
801 is not a term since it is 1080 in base 9, so with an extra 0.
|
|
PROG
|
(PARI) isok(n) = {my(d = digits(n)); for (b=2, 9, my(rd = Vecrev(digits(n, b))); if ((#rd == #d) && fromdigits(rd) == n, return (b)); ); } \\ Michel Marcus, Aug 05 2019
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,fini,full
|
|
AUTHOR
|
|
|
EXTENSIONS
|
Keyword:base, single-digit numbers and 313725 added by R. J. Mathar, Jul 17 2009
|
|
STATUS
|
approved
|
|
|
|