login
Number of decompositions of 2n-1 into sum of a lucky number and an even-lucky-number (from A045954).
1

%I #9 Apr 08 2020 02:18:35

%S 0,1,2,2,2,3,4,3,3,5,4,4,5,6,4,4,5,7,6,5,5,8,6,6,6,8,8,9,8,8,7,6,7,8,

%T 9,9,9,9,10,10,7,10,13,8,9,11,10,8,9,10,12,10,12,9,12,11,10,12,14,12,

%U 15,12,10,12,10,13,16,11,13,16,14,11,15,15,13,17,15,12,13,10,12,18,14,11

%N Number of decompositions of 2n-1 into sum of a lucky number and an even-lucky-number (from A045954).

%H Jinyuan Wang, <a href="/A057747/b057747.txt">Table of n, a(n) for n = 1..1000</a>

%e 1 is not the sum of a lucky number and an even-lucky-number, so a(1)=0; 3=1+2 (one way, so a(2)=1); 5=3+2=1+4 (so a(3)=2); etc.

%Y Cf. A000959, A045954.

%K nonn,easy

%O 1,3

%A _Naohiro Nomoto_, Oct 30 2000

%E Offset changed to 1 by _Jinyuan Wang_, Apr 07 2020