OFFSET
1,2
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Multiplicative Persistence
PROG
(Magma) pers:=func<n, e|&*[c^e:c in Intseq(n)]>; a:=[0]; for n in [2..100] do m:=1; k:=n; while not pers(k, 4) in {0, 1} do k:=pers(k, 4); m:=m+1; end while; Append(~a, m); end for; a; // Marius A. Burtea, Jan 13 2020
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Offset 1 from Seiichi Manyama, Jan 13 2020
STATUS
approved