login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A103485
Expansion of (7 +4*x -5*x^2 -7*x^3) / ((1-x)*(1-x^2-x^3)).
1
7, 11, 13, 17, 23, 29, 39, 51, 67, 89, 117, 155, 205, 271, 359, 475, 629, 833, 1103, 1461, 1935, 2563, 3395, 4497, 5957, 7891, 10453, 13847, 18343, 24299, 32189, 42641, 56487, 74829, 99127, 131315, 173955, 230441, 305269, 404395, 535709, 709663, 940103
OFFSET
0,1
FORMULA
a(n) = a(n-1) + a(n-2) - a(n-4), with a(0)=7, a(1)=11, a(2)=13, a(3)=17.
G.f.: (7 +4*x -5*x^2 -7*x^3) / ((1-x)*(1-x^2-x^3)). - Colin Barker, Mar 20 2016
a(n) = a(n-2) + a(n-3) - 1. - Greg Dresden, May 18 2020
MATHEMATICA
a[0]=7; a[1]=11; a[2]=13; a[3]=17; a[n_]:= a[n]= a[n-1] +a[n-2] -a[n-4]; Table[a[n], {n, 0, 50}]
PROG
(PARI) Vec((7+4*x-5*x^2-7*x^3)/((1-x)*(1-x^2-x^3)) + O(x^50)) \\ Colin Barker, Mar 20 2016
CROSSREFS
Sequence in context: A175412 A173700 A067557 * A191079 A279190 A309671
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Mar 21 2005
EXTENSIONS
New name from Colin Barker, Mar 20 2016
STATUS
approved