%I
%S 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,21,22,23,24,28,29,
%T 30,31,32,33,37,38,40,41,42,46,48,50,51,56,58,60,61,64,65,67,70,71,73,
%U 76,80,81,82,83,84,85,90,92,99,100,101,102,103,104,105,106
%N Numbers such that additive and multiplicative persistences coincide.
%C Numbers n for which A031286(n) = A031346(n).
%H Arkadiusz Wesolowski, <a href="/A239427/b239427.txt">Table of n, a(n) for n = 1..66</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/AdditivePersistence.html">Additive Persistence</a>
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/MultiplicativePersistence.html">Multiplicative Persistence</a>
%e 28 > 10 > 1 has additive persistence 2. 28 > 16 > 6 has multiplicative persistence 2. 28 is therefore in the sequence.
%o (PARI) for(n=0, 106, v=n; a=0; while(n>9, a++; n=sumdigits(n)); n=v; m=0; while(n>9, m++; d=digits(n); n=prod(k=1, #d, d[k])); n=v; if(a==m, print1(n, ", ")));
%Y Supersequence of A239480. Cf. A031286, A031346.
%K nonn,base
%O 1,3
%A _Arkadiusz Wesolowski_, Mar 19 2014
