reviewed
approved
reviewed
approved
proposed
reviewed
editing
proposed
G.f.: (1-x)^2/((1-x)^3 - 2x2*x^6).
proposed
editing
editing
proposed
1, 1, 1, 1, 1, 1, 3, 9, 21, 41, 71, 113, 173, 269, 443, 777, 1413, 2577, 4615, 8065, 13813, 23413, 39691, 67801, 116973, 203337, 354519, 617345, 1071197, 1851677, 3192731, 5501033, 9485621, 16381185, 28330119, 49035777, 84883621, 146875717, 253983307, 438968761
easy,nonn,easy,changed
proposed
editing
editing
proposed
LinearRecurrence[{3, -3, 1, 0, 0, 2}, {1, 1, 1, 1, 1, 1}, 38] (* or *) a[0]=1; a[1]=1; a[2]=1; a[3]=1; a[4]=1; a[5]=1; a[n_]:= a[n]=3*a[n-1]-3*a[n-2]+a[n-3]+2*a[n-6]; Table[a[n], {n, 0, 37}](* James C. McMahon, Dec 22 2023 *)
LinearRecurrence[{3, -3, 1, 0, 0, 2}, {1, 1, 1, 1, 1, 1}, 38] (* James C. McMahon, Dec 22 2023 *)
proposed
editing
editing
proposed
LinearRecurrence[{3, -3, 1, 0, 0, 2}, {1, 1, 1, 1, 1, 1}, 38] (* _or *) a[0]=1; a[1]=1; a[2]=1; a[3]=1; a[4]=1; a[5]=1; a[n_]:= a[n]=3*a[n-1]-3*a[n-2]+a[n-3]+2*a[n-6]; Table[a[n], {n, 0, 37}](* _James C. McMahon_, Dec 22 2023 *)
proposed
editing