[go: up one dir, main page]

login
Numbers that cannot be partitioned into distinct parts of the form 3^k - 2^k, cf. A001047.
3

%I #6 Dec 06 2015 22:39:50

%S 2,3,4,7,8,9,10,11,12,13,14,15,16,17,18,21,22,23,26,27,28,29,30,31,32,

%T 33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,

%U 56,57,58,59,60,61,62,63,64,67,68,69,72,73,74,75,76,77

%N Numbers that cannot be partitioned into distinct parts of the form 3^k - 2^k, cf. A001047.

%C A241759(a(n)) = 0.

%H Reinhard Zumkeller, <a href="/A241783/b241783.txt">Table of n, a(n) for n = 1..10000</a>

%o (Haskell)

%o a241783 n = a241783_list !! (n-1)

%o a241783_list = filter ((== 0) . a241759) [0..]

%Y Cf. A240400 (complement).

%K nonn

%O 1,1

%A _Reinhard Zumkeller_, Apr 28 2014