login
a(n) = A184827(n)/A130889(n) unless A130889(n) = 0 in which case a(n) = 0.
3

%I #5 Mar 30 2012 17:25:56

%S 0,0,1,1,1,1,1,1,1,1,1,1,1,3,1,13,13,1,1,1,9,3,3,11,1,1,25,25,1,3,1,

%T 13,31,1,1,3,37,1,27,1,1,7,43,5,1,1,1,1,1,17,29,1,1,1,1,3,23,5,1,45,

%U 19,19,7,31,1,5,1,1,1,43,1,31,1,5,85,85,5,1,11,43,3

%N a(n) = A184827(n)/A130889(n) unless A130889(n) = 0 in which case a(n) = 0.

%C a(n) is the "level" of lucky numbers.

%C The decomposition of lucky numbers into weight * level + gap is A000959(n) = A130889(n) * a(n) + A031883(n) if a(n) > 0.

%C A184827(n) = A000959(n) - A031883(n) if A000959(n) - A031883(n) > A031883(n), 0 otherwise.

%H Rémi Eismann, <a href="/A184828/b184828.txt">Table of n, a(n) for n = 1..10000</a>

%e For n = 1 we have A130889(1) = 0, hence a(1) = 0.

%e For n = 3 we have A184752(3)/A130889(3)= 5 / 5 = 1; hence a(3) = 1.

%e For n = 24 we have A184752(24)/A130889(24)= 99 / 9 = 11; hence a(24) = 11.

%Y Cf. A000959, A031883, A130889, A184827, A117078, A117563, A001223, A118534.

%K nonn

%O 1,14

%A _Rémi Eismann_, Jan 23 2011