login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 10:29 EDT 2024. Contains 371905 sequences. (Running on oeis4.)