cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A208277 Smallest number of multiplicative persistence n in factorial base.

Original entry on oeis.org

0, 2, 5, 633, 443153013
Offset: 0

Views

Author

Keywords

Comments

a(n) exists for all n, unlike (conjecturally) its decimal equivalent A003001. In particular, with k = a(n-1), a(n) <= k * k! + (k-1)! + ... + 2! + 1! < (a(n-1)+1)! for n > 1. Diamond & Reidpath ask if this upper bound can be improved.
a(5) <= 255429978433810461138446192454297813.

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.
		

Crossrefs

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