A208277 Smallest number of multiplicative persistence n in factorial base.
0, 2, 5, 633, 443153013
Offset: 0
Examples
5 = 1*1!+2*2!, and so is 21 in factorial base; the product of its digits is 2*1 = 10_! and the product of its digits in factorial base is 0*1 = 0, so 5 has multiplicative persistence 2. Since it is the smallest, a(2) = 5. 633 = 51111_! -> 21_! -> 10_! -> 0_! is the least chain of length 3 and so a(3) = 633.
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.
Programs
-
PARI
pr(n)=my(k=1,s=1);while(n,s*=n%k++;n\=k);s persist(n)=my(t); while(n>1, t++; n=pr(n)); t a(n)=my(k=0);while(persist(k)!=n, k++); k \\ Charles R Greathouse IV, Jan 21 2013
Comments