A272931
a(n) = 2^(n+1)*cos(n*arctan(sqrt(15))).
Original entry on oeis.org
2, 1, -7, -11, 17, 61, -7, -251, -223, 781, 1673, -1451, -8143, -2339, 30233, 39589, -81343, -239699, 85673, 1044469, 701777, -3476099, -6283207, 7621189, 32754017, 2269261, -128746807, -137823851, 377163377, 928458781, -580194727, -4294029851, -1973250943
Offset: 0
-
seq(simplify(((1-I*sqrt(15))^n + (1+I*sqrt(15))^n)/2^n), n=0..32);
-
LinearRecurrence[{1, -4}, {2, 1}, 33]
-
Vec((2 - x) / (1 - x + 4*x^2) + O(x^40)) \\ Colin Barker, Jan 22 2019
-
[lucas_number2(i, 1, 4) for i in range(33)]
A128100
Triangle read by rows: T(n,k) is the number of ways to tile a 2 X n rectangle with k pieces of 2 X 2 tiles and n-2k pieces of 1 X 2 tiles (0 <= k <= floor(n/2)).
Original entry on oeis.org
1, 1, 2, 1, 3, 2, 5, 5, 1, 8, 10, 3, 13, 20, 9, 1, 21, 38, 22, 4, 34, 71, 51, 14, 1, 55, 130, 111, 40, 5, 89, 235, 233, 105, 20, 1, 144, 420, 474, 256, 65, 6, 233, 744, 942, 594, 190, 27, 1, 377, 1308, 1836, 1324, 511, 98, 7, 610, 2285, 3522, 2860, 1295, 315, 35, 1, 987, 3970
Offset: 0
Triangle starts:
1;
1;
2, 1;
3, 2;
5, 5, 1;
8, 10, 3;
13, 20, 9, 1;
21, 38, 22, 4;
From _Philippe Deléham_, Jan 24 2012: (Start)
Triangle (1, 1, -1, 0, 0, ...) DELTA (0, 1, -1, 0, 0, 0, ...) begins:
1;
1, 0;
2, 1, 0;
3, 2, 0, 0;
5, 5, 1, 0, 0;
8, 10, 3, 0, 0, 0;
13, 20, 9, 1, 0, 0, 0;
21, 38, 22, 4, 0, 0, 0, 0; (End)
From _Clark Kimberling_, Oct 22 2014: (Start)
Here are the first 4 polynomials p(n,x) as in Comment and generated by Mathematica program:
1
2 + x
3 + 2x
5 + 5x + x^2. (End)
- C.-P. Chou and H. A. Witek, An Algorithm and FORTRAN Program for Automatic Computation of the Zhang-Zhang Polynomial of Benzenoids, MATCH: Commun. Math. Comput. Chem, 68 (2012) 3-30. See Eq. (9). - From _N. J. A. Sloane_, Dec 23 2012
- S. Klavzar, M. Mollard, Cube polynomial of Fibonacci and Lucas cubes, preprint.
- S. Klavzar, M. Mollard, Cube polynomial of Fibonacci and Lucas cubes, Acta Appl. Math. 117, 2012, 93-105. - _Emeric Deutsch_, Aug 12 2014
-
G:=1/(1-z-(1+t)*z^2): Gser:=simplify(series(G,z=0,19)): for n from 0 to 16 do P[n]:=sort(coeff(Gser,z,n)) od: for n from 0 to 16 do seq(coeff(P[n],t,j),j=0..floor(n/2)) od; # yields sequence in triangular form
-
p[x_, n_] := 1 + (x + 1)/p[x, n - 1]; p[x_, 1] = 1;
Numerator[Table[Factor[p[x, n]], {n, 1, 20}]] (* Clark Kimberling, Oct 22 2014 *)
A133631
a(n) = a(n-1) - 4*a(n-2), a(0)=1, a(1)=2.
Original entry on oeis.org
1, 2, -2, -10, -2, 38, 46, -106, -290, 134, 1294, 758, -4418, -7450, 10222, 40022, -866, -160954, -157490, 486326, 1116286, -829018, -5294162, -1978090, 19198558, 27110918, -49683314, -158126986, 40606270, 673114214, 510689134, -2181767722, -4224524258
Offset: 0
G.f. = 1 + 2*x - 2*x^2 - 10*x^3 - 2*x^4 + 38*x^5 + 46*x^6 - 106*x^7 + ... - _Michael Somos_, Oct 24 2023
-
a[ n_] := 2^n * ChebyshevU[n, 1/4] + 2^(n-1) * ChebyshevU[n-1, 1/4]; (* Michael Somos, Oct 24 2023 *)
LinearRecurrence[{1,-4},{1,2},50] (* Harvey P. Dale, Feb 01 2025 *)
-
{a(n) = 2^n*polchebyshev(n, 2, 1/4) + 2^(n-1)*polchebyshev(n-1, 2, 1/4)}; /* Michael Somos, Oct 24 2023 */
A156857
Expansion of (1+2*x)/(1+x+4*x^2)^2.
Original entry on oeis.org
1, 0, -9, 10, 45, -108, -125, 702, -135, -3320, 4239, 11250, -31931, -18180, 165915, -92762, -651375, 1101168, 1747495, -6710310, -694179, 30182500, -28394829, -101934450, 229069225, 203510232, -1198850625, 364506562, 4767453045
Offset: 0
-
I:=[1,0,-9,10]; [n le 4 select I[n] else (-1)*(2*Self(n-1) +9*Self(n-2) +8*Self(n-3) +16*Self(n-4)): n in [1..41]]; // G. C. Greubel, Jan 28 2022
-
LinearRecurrence[{-2,-9,-8,-16}, {1,0,-9,10}, 41] (* or *)
A156857[n_]:= (-2)^n*Sum[ChebyshevU[n-j, 1/4]*(ChebyshevU[j, 1/4] - ChebyshevU[j-1, 1/4]), {j,0,n}];
Table[A156857[n], {n, 0, 40}] (* G. C. Greubel, Jan 28 2022 *)
-
def A156857(n): return (-2)^n*sum( chebyshev_U(n-j, 1/4)*(chebyshev_U(j, 1/4) - chebyshev_U(j-1, 1/4)) for j in (0..n))
[A156857(n) for n in (0..40)] # G. C. Greubel, Jan 28 2022
A231114
Numbers k dividing u(k), where the Lucas sequence is defined u(i) = u(i-1) - 4*u(i-2) with initial conditions u(0)=0, u(1)=1.
Original entry on oeis.org
1, 3, 5, 9, 15, 25, 27, 45, 75, 81, 125, 135, 171, 225, 243, 375, 405, 435, 465, 513, 625, 675, 729, 855, 1125, 1215, 1305, 1395, 1539, 1875, 2025, 2175, 2187, 2325, 2565, 3125, 3249, 3375, 3645, 3725, 3915, 4005, 4185, 4275, 4617, 5625, 6075, 6327, 6525, 6561
Offset: 1
The sequence u(i) begins 0, 1, 1, -3, -7, 5, 33. Only for k = 1, 3, 5 does k divides u(k).
-
nn = 10000; s = LinearRecurrence[{1, -4}, {1, 1}, nn]; t = {}; Do[If[Mod[s[[n]], n] == 0, AppendTo[t, n]], {n, nn}]; t (* T. D. Noe, Nov 06 2013 *)
Comments