login
First differences of A131572.
2

%I #15 Jul 10 2018 13:42:52

%S 1,1,0,2,0,4,0,8,0,16,0,32,0,64,0,128,0,256,0,512,0,1024,0,2048,0,

%T 4096,0,8192,0,16384,0,32768,0,65536,0,131072,0,262144,0,524288,0,

%U 1048576,0,2097152,0,4194304,0,8388608,0

%N First differences of A131572.

%H <a href="/index/Rec#order_02">Index entries for linear recurrences with constant coefficients</a>, signature (0, 2).

%F a(n) = A131572(n+1) - A131572(n).

%F a(n) = A077957(n-1), n>0.

%F G.f.: (1 + x - 2x^2)/(1-2x^2). - _Philippe Deléham_, Oct 01 2011

%t Differences[LinearRecurrence[{0,2},{0,1,2},50]] (* or *) LinearRecurrence[ {0, 2}, {1, 1, 0}, 50] (* or *) Join[{1},Riffle[2^Range[0,30],0]] (* _Harvey P. Dale_, Jul 10 2018 *)

%K nonn,easy

%O 0,4

%A _Paul Curtz_, Aug 28 2007

%E Edited by _R. J. Mathar_, Jul 16 2008

%E More terms from _Philippe Deléham_, Oct 01 2011