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

 


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A343504 a(n) is the least common multiple of the nonzero digits in factorial base expansion of n. 2
1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 6, 6, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 6, 6, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 3, 3, 3, 3, 6, 6, 3, 3, 3, 3, 6, 6, 6, 6, 6
(list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
a(0) = 1 by convention.
LINKS
FORMULA
a(n) = 1 iff n belongs to A059590.
EXAMPLE
For n = 1000000:
- the factorial base expansion of 1000000 is "2, 6, 6, 2, 5, 1, 2, 2, 0",
- so a(1000000) = lcm(1, 2, 5, 6) = 30.
PROG
(PARI) a(n) = { my (v=1); for (r=2, oo, if (n==0, return (v), n%r, v=lcm(v, n%r)); n\=r) }
CROSSREFS
Sequence in context: A101615 A246359 A328114 * A328582 A227153 A328581
KEYWORD
nonn,look,base
AUTHOR
Rémy Sigrist, Apr 17 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | 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 September 19 13:45 EDT 2024. Contains 376012 sequences. (Running on oeis4.)