cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A156067 a(0)=1. a(n)= -2^(n-1)-3*(-1)^n, n>1.

This page as a plain text file.
%I A156067 #17 Jun 13 2015 00:53:00
%S A156067 1,2,-5,-1,-11,-13,-35,-61,-131,-253,-515,-1021,-2051,-4093,-8195,
%T A156067 -16381,-32771,-65533,-131075,-262141,-524291,-1048573,-2097155,
%U A156067 -4194301,-8388611,-16777213,-33554435,-67108861,-134217731,-268435453,-536870915,-1073741821,-2147483651
%N A156067 a(0)=1. a(n)= -2^(n-1)-3*(-1)^n, n>1.
%C A156067 The main diagonal of the array of A153130 and its successive differences.
%C A156067 A154589 is the second upper diagonal of the array.
%H A156067 Vincenzo Librandi, <a href="/A156067/b156067.txt">Table of n, a(n) for n = 0..1000</a>
%H A156067 <a href="/index/Rec">Index entries for linear recurrences with constant coefficients</a>, signature (1,2).
%F A156067 a(n)= +a(n-1) +2*a(n-2), n>2.
%F A156067 G.f.: x*(-2+7*x) / ( (1+x)*(2*x-1) ).
%F A156067 a(n) == A153130(n) (mod 9).
%F A156067 a(n+1)-2*a(n) = (-1)^n*9, n>0.
%F A156067 a(n) = A154589(n)-3*(-1)^n.
%F A156067 a(n)+a(n+3) = -A005010(n-1) = -9*A131577(n).
%F A156067 a(2*n)+a(2*n+1) = -3*2^(2n-1) = -A002023(n-2).
%t A156067 Join[{1},LinearRecurrence[{1,2},{2,-5},40]] (* _Harvey P. Dale_, Dec 11 2011 *)
%K A156067 easy,sign
%O A156067 0,2
%A A156067 _Paul Curtz_, Feb 03 2009