login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A033621
n-1 is a palindrome in base 10, n+1 is a palindrome in base 17.
0
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 89, 233, 374, 425, 596, 647, 869, 920, 3444, 4775, 23633, 45755, 62027, 180082, 231133, 310014, 487785, 566666, 645547, 724428, 803309, 1027202, 1064602, 1215122, 1252522, 1403042, 80399309, 111222112, 112060212, 146979642
OFFSET
1,2
PROG
(PARI) isok(m) = my(da=digits(m-1, 10), db=digits(m+1, 17)); da==Vecrev(da) && db==Vecrev(db); \\ Michel Marcus, Jul 09 2020
CROSSREFS
Sequence in context: A061729 A286126 A249157 * A332808 A108548 A333692
KEYWORD
nonn,base
EXTENSIONS
More terms from Michel ten Voorde
Corrected and extended by Sean A. Irvine, Jul 08 2020
STATUS
approved