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!)
A343680 Niven (or Harshad) numbers which when divided by sum of their digits, give a quotient which is a Zuckerman number. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 18, 21, 24, 27, 36, 42, 45, 48, 54, 63, 72, 81, 84, 108, 135, 198, 216, 324, 648, 1008, 1035, 1050, 1152, 1215, 1344, 1380, 1680, 1725, 2016, 2376, 2592, 2625, 2688, 2997, 3675, 3816, 3888, 5616, 5670, 6912, 10008, 10017, 10035, 10044 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
The first 24 terms of A114440 are the first 24 terms of this sequence, then A114440(25) = 162, while a(25) = 135.
LINKS
Giovanni Resta, Zuckerman Numbers, Numbers Aplenty.
EXAMPLE
84 is a Niven number as 84/(8+4) = 7, 7/7 = 1 so 7 is a Zuckerman number, and 84 is a term.
108 is a Niven number as 108/(1+0+8) = 12, 12/(1*2) = 6 so 12 is a Zuckerman number, and 108 is a term.
MATHEMATICA
zuckQ[n_] := IntegerQ[n] && (prod = Times @@ IntegerDigits[n]) > 0 && Divisible[n, prod]; Select[Range[10^4], zuckQ[#/Plus @@ IntegerDigits[#]] &] (* Amiram Eldar, Apr 26 2021 *)
PROG
(PARI) isz(n) = my(p=vecprod(digits(n))); p && !(n % p); \\ A007602
isok(n) = my(s=sumdigits(n)); !(n%s) && isz(n/s); \\ Michel Marcus, Apr 26 2021
CROSSREFS
Sequence in context: A079042 A193455 A356349 * A114440 A334416 A217973
KEYWORD
nonn,base
AUTHOR
Bernard Schott, Apr 26 2021
EXTENSIONS
More terms from Michel Marcus, Apr 26 2021
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 13:51 EDT 2024. Contains 371914 sequences. (Running on oeis4.)