The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A350494 Divide n by the greatest common divisor of the nonzero digits of n. 1
1, 1, 1, 1, 1, 1, 1, 1, 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 10, 31, 32, 11, 34, 35, 12, 37, 38, 13, 10, 41, 21, 43, 11, 45, 23, 47, 12, 49, 10, 51, 52, 53, 54, 11, 56, 57, 58, 59, 10, 61, 31, 21, 32, 65, 11, 67 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
LINKS
FORMULA
a(n) = n / A052423(n).
a(n) = n iff n belongs to A069715.
a(a(n)) = a(n).
EXAMPLE
a(42) = 42 / gcd(4, 2) = 42 / 2 = 21.
PROG
(PARI) a(n) = n / gcd(digits(n))
(Python)
from math import gcd
def a(n): return n//gcd(*[int(d) for d in str(n)])
print([a(n) for n in range(1, 68)]) # Michael S. Branicky, Jan 01 2022
CROSSREFS
Sequence in context: A305947 A100830 A180176 * A168100 A088475 A171891
KEYWORD
nonn,base,look,easy
AUTHOR
Rémy Sigrist, Jan 01 2022
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 May 28 14:20 EDT 2024. Contains 372913 sequences. (Running on oeis4.)