login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A022312 a(n) = a(n-1) + a(n-2) + 1 for n>1, a(0)=0, a(1)=7. 1

%I #20 Aug 25 2017 23:35:00

%S 0,7,8,16,25,42,68,111,180,292,473,766,1240,2007,3248,5256,8505,13762,

%T 22268,36031,58300,94332,152633,246966,399600,646567,1046168,1692736,

%U 2738905,4431642,7170548,11602191,18772740,30374932,49147673,79522606,128670280

%N a(n) = a(n-1) + a(n-2) + 1 for n>1, a(0)=0, a(1)=7.

%H G. C. Greubel, <a href="/A022312/b022312.txt">Table of n, a(n) for n = 0..1000</a>

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

%F Equals A022098(n) - 1.

%F G.f.: x*(7-6*x)/( (1-x)*(1-x-x^2) ). - _R. J. Mathar_, Apr 07 2011

%F a(n) = F(n+2) + 6*F(n) - 1, where F = A000045. - _G. C. Greubel_, Aug 25 2017

%t LinearRecurrence[{2, 0, -1}, {0, 7, 8}, 60] (* _Vladimir Joseph Stephan Orlovsky_, Feb 16 2012 *)

%o (PARI) x='x+O('x^50); concat([0],Vec(x*(7-6*x)/( (1-x)*(1-x-x^2) ))) \\ _G. C. Greubel_, Aug 25 2017

%Y Cf. A000045.

%K nonn,easy

%O 0,2

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 20 00:58 EDT 2024. Contains 371798 sequences. (Running on oeis4.)