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”).

A334417
a(n) is the palindrome equal to A334416(n) divided by its sum of digits.
1
1, 1, 1, 1, 1, 1, 1, 1, 1, 4, 2, 7, 4, 3, 4, 7, 5, 4, 6, 7, 8, 9, 7, 55, 22, 11, 55, 22, 55, 22, 55, 55, 33, 55, 55, 55, 55, 44, 55, 55, 55, 55, 505, 88, 66, 202, 262, 77, 121, 88, 99, 181, 151, 121, 101, 88, 505, 424, 181, 121, 151, 181, 131, 343, 202, 181, 141
OFFSET
1,10
FORMULA
a(n) = A334416(n) / A007953(A334416(n)).
EXAMPLE
A334416(10) = 12 whose sum of digits is 3; 12/3 = 4, so a(10) = 4.
MATHEMATICA
Select[#/Plus @@ IntegerDigits[#] & /@ Range[3000], PalindromeQ] (* Amiram Eldar, Apr 29 2020 *)
PROG
(PARI) isok(m) = iferr(my(d=digits(m/sumdigits(m))); d==Vecrev(d), E, 0);
apply(x->x/sumdigits(x), select(x->isok(x), [1..3000])) \\ Michel Marcus, Apr 29 2020
CROSSREFS
Cf. A334375 (similar for primes).
Sequence in context: A329796 A002949 A197026 * A195779 A130849 A138754
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Apr 29 2020
STATUS
approved