%I A098893
%S A098893 0,1,1,2,1,2,1,3,2,2,1,3,1,2,2,4,1,3,1,4,3,3,2,5,3,3,4,4,2,4,2,6,3,3,3,
%T A098893 5,2,3,3,6,3,5,3,5,5,4,3,7,4,4,3,4,2,5,3,5,3,3,2,6,3,4,5,8,4,5,3,5,4,4,
%U A098893 2,6,2,3,4,4,3,4,2,8,7,5,4,7,5,5,5,7,4,6,4,5,4,4,4,8,3,5,5,6,3,5,3,6,5
%N A098893 Sum of number of prime-factors of all prefixes in decimal representation
of n.
%C A098893 a(n) = if n<10 then Omega(n) else Omega(n) + a(floor(n/10)), where Omega=A001222.
%e A098893 a(256)=Omega(256)+a(25)=8+Omega(25)+a(2)=8+2+Omega(2)=10+1=11.
%Y A098893 Sequence in context: A122810 A086436 A001222 this_sequence A069248 A008481
A127669
%Y A098893 Adjacent sequences: A098890 A098891 A098892 this_sequence A098894 A098895
A098896
%K A098893 nonn,base
%O A098893 1,4
%A A098893 Reinhard Zumkeller (reinhard.zumkeller(AT)gmail.com), Nov 04 2004
|