OFFSET
1,2
COMMENTS
264*(10^m+1) for m = 2 and m > 3 are terms. Among the first 1000 terms, most terms are palindromes or near-palindromes. The only terms where the first digit is not the same as the last digit among the first 1000 terms are: 42, 7458941369406538 and terms of the form 264*(10^m+1). - Chai Wah Wu, May 12 2020
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10001 (n = 1..1000 from Giovanni Resta)
EXAMPLE
The sum of digits of 26664 is 24 and 26664*24 = 639936 and 26664/24 = 1111 are palindromes, so 26664 is a term.
MATHEMATICA
Select[Range[2.7*^6], (s = Plus @@ IntegerDigits[#]; Mod[#, s] == 0 && PalindromeQ[# s] && PalindromeQ[# /s]) &]
PROG
(PARI) ispal(k) = my(d=digits(k)); d==Vecrev(d);
isok(k) = my(s=sumdigits(k)); !(k%s) && ispal(k/s) && ispal(k*s); \\ Michel Marcus, May 05 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Giovanni Resta, May 05 2020
STATUS
approved