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!)
A208576 Multiplicative persistence of n in factorial base. 4
0, 0, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,6
COMMENTS
Diamond and Reidpath prove that a(2n) = 1 for n > 0, a(n) = 2 if n is contains an even digit but no 0's in its factorial base representation. If a(n) > 2 then 3 | n.
Further modular properties can be easily proved. For example, a(n) > 2 implies that n is 33, 45, 81, or 93 mod 120.
LINKS
M. R. Diamond and D. D. Reidpath, A counterexample to conjectures by Sloane and Erdos concerning the persistence of numbers, Journal of Recreational Mathematics 29:2 (1998), pp. 89-92.
FORMULA
a(0) = a(1) = 0; for n > 1, a(n) = 1 + a(A208575(n)). - Antti Karttunen, Nov 14 2018
PROG
(PARI) pr(n)=my(k=1, s=1); while(n, s*=n%k++; n\=k); s
a(n)=my(t); while(n>1, t++; n=pr(n)); t
CROSSREFS
Sequence in context: A318930 A235748 A204697 * A307897 A008651 A049107
KEYWORD
nonn,base
AUTHOR
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 16 18:22 EDT 2024. Contains 371750 sequences. (Running on oeis4.)