|
| |
|
|
A131838
|
|
Multiplicative persistence of Woodall numbers.
|
|
1
| |
|
|
0, 0, 1, 2, 3, 3, 2, 1, 1, 1, 2, 2, 1, 2, 2, 1, 5, 2, 2, 1, 1, 8, 3, 1, 1, 1, 2, 2, 2, 2, 1, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 1,4
|
|
|
COMMENTS
| After the 111st terms all the numbers have some digits equal to zero thus the persistence is equal to 1.
|
|
|
EXAMPLE
| Woodall number 159 --> 1*5*9=45 --> 4*5=20 --> 2*0=0 thus persistence is 3
|
|
|
MAPLE
| P:=proc(n) local i, k, w, ok, cont; for i from 1 by 1 to n do w:=1; k:=i*2^i-1; ok:=1; if k<10 then print(0); else cont:=1; while ok=1 do while k>0 do w:=w*(k-(trunc(k/10)*10)); k:=trunc(k/10); od; if w<10 then ok:=0; print(cont); else cont:=cont+1; k:=w; w:=1; fi; od; fi; od; end: P(120);
|
|
|
CROSSREFS
| Cf. A003261, A131841.
Sequence in context: A167544 A074989 A123548 * A171414 A038529 A176259
Adjacent sequences: A131835 A131836 A131837 * A131839 A131840 A131841
|
|
|
KEYWORD
| easy,nonn,base
|
|
|
AUTHOR
| Paolo P. Lava & Giorgio Balzarotti (paoloplava(AT)gmail.com), Jul 20 2007
|
| |
|
|