[go: up one dir, main page]

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!)
A360073 a(n) is the greatest divisor of n divisible by the product of its own digits. 2
1, 2, 3, 4, 5, 6, 7, 8, 9, 5, 11, 12, 1, 7, 15, 8, 1, 9, 1, 5, 7, 11, 1, 24, 5, 2, 9, 7, 1, 15, 1, 8, 11, 2, 7, 36, 1, 2, 3, 8, 1, 7, 1, 11, 15, 2, 1, 24, 7, 5, 3, 4, 1, 9, 11, 8, 3, 2, 1, 15, 1, 2, 9, 8, 5, 11, 1, 4, 3, 7, 1, 36, 1, 2, 15, 4, 11, 6, 1, 8, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Numbers divisible by the product of their digits are called Zuckerman numbers (A007602).
LINKS
FORMULA
a(n) = n iff n belongs to A007602.
EXAMPLE
For n = 10:
- the divisors of 10 are 1, 2, 5 and 10,
- 5 is divisible by 5 whereas 10 is not divisible by 1*0,
- so a(10) = 5.
PROG
(PARI) a(n) = { fordiv (n, d, my (t=n/d, p=vecprod(digits(t))); if (p && t%p==0, return (t))) }
CROSSREFS
Sequence in context: A257296 A093030 A122425 * A074044 A079827 A216196
KEYWORD
nonn,base,easy
AUTHOR
Rémy Sigrist, Jan 24 2023
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 August 28 23:11 EDT 2024. Contains 375508 sequences. (Running on oeis4.)