1, 2, 1, 5, 4, 1, 12, 14, 6, 1, 29, 44, 27, 8, 1, 70, 131, 104, 44, 10, 1, 169, 376, 366, 200, 65, 12, 1, 408, 1052, 1212, 810, 340, 90, 14, 1, 985, 2888, 3842, 3032, 1555, 532, 119, 16, 1, 2378, 7813, 11784, 10716, 6482, 2709, 784, 152, 18, 1, 5741, 20892, 35223
Offset: 0
Fourth row polynomial (n=3): p(3,x)= 12+14*x+6*x^2+x^3
Triangle begins:
{1},
{2, 1},
{5, 4, 1},
{12, 14, 6, 1},
{29, 44, 27, 8, 1},
{70, 131,104, 44, 10, 1},
{169, 376, 366, 200, 65, 12, 1},
{408, 1052, 1212, 810, 340, 90, 14, 1},
{985, 2888, 3842, 3032, 1555, 532, 119, 16, 1},
{2378, 7813, 11784, 10716, 6482, 2709, 784, 152, 18, 1},
{5741, 20892, 35223, 36248, 25235, 12432, 4396, 1104, 189, 20, 1},
The triangle (0, 2, 1/2, -1/2, 0, 0, 0, ...) DELTA (1, 0, 0, 0, 0, 0, ...) begins:
1
0, 1
0, 2, 1
0, 5, 4, 1
0, 12, 14, 6, 1
0, 29, 44, 27, 8, 1 - _Philippe Deléham_, Feb 19 2013
A052924
Expansion of g.f.: (1-x)/(1 - 3*x - x^2).
Original entry on oeis.org
1, 2, 7, 23, 76, 251, 829, 2738, 9043, 29867, 98644, 325799, 1076041, 3553922, 11737807, 38767343, 128039836, 422886851, 1396700389, 4612988018, 15235664443, 50319981347, 166195608484, 548906806799, 1812916028881
Offset: 0
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
- L. Euler, Introductio in analysin infinitorum, 1748, section 338. English translation by John D. Blanton, Introduction to Analysis of the Infinite, 1988, Springer, p. 286.
- G. C. Greubel, Table of n, a(n) for n = 0..1000
- Sergio Falcón, The k-Fibonacci difference sequences, Chaos, Solitons & Fractals, Volume 87, June 2016, Pages 153-157.
- Sergio Falcón and Ángel Plaza, On the Fibonacci k-numbers, Chaos, Solitons & Fractals 2007; 32(5): 1615-24.
- INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 909
- Tanya Khovanova, Recursive Sequences
- Index entries for linear recurrences with constant coefficients, signature (3,1).
-
a:=[1,2];; for n in [3..30] do a[n]:=3*a[n-1]+a[n-2]; od; a; # G. C. Greubel, Jun 09 2019
-
R:=PowerSeriesRing(Integers(), 30); Coefficients(R!( (1-x)/(1-3*x-x^2) )); // G. C. Greubel, Jun 09 2019
-
spec:= [S,{S=Sequence(Prod(Sequence(Z),Union(Z,Z,Prod(Z,Z))))}, unlabeled]: seq(combstruct[count](spec,size=n), n=0..30);
seq(coeff(series((1-x)/(1-3*x-x^2), x, n+1), x, n), n = 0..30); # G. C. Greubel, Oct 16 2019
-
CoefficientList[Series[(1-x)/(1-3*x-x^2), {x,0,30}], x] (* G. C. Greubel, Jun 09 2019 *)
-
Vec((1-x)/(1-3*x-x^2)+O(x^30)) \\ Charles R Greathouse IV, Nov 20 2011
-
((1-x)/(1-3*x-x^2)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, Jun 09 2019
A367300
Triangular array T(n,k), read by rows: coefficients of strong divisibility sequence of polynomials p(1,x) = 1, p(2,x) = 3 + 2*x, p(n,x) = u*p(n-1,x) + v*p(n-2,x) for n >= 3, where u = p(2,x), v = 1 - 2*x - x^2.
Original entry on oeis.org
1, 3, 2, 10, 10, 3, 33, 46, 22, 4, 109, 194, 131, 40, 5, 360, 780, 678, 296, 65, 6, 1189, 3036, 3228, 1828, 581, 98, 7, 3927, 11546, 14514, 10100, 4194, 1036, 140, 8, 12970, 43150, 62601, 51664, 26479, 8604, 1722, 192, 9, 42837, 159082, 261598, 249720, 152245, 61318, 16248, 2712, 255, 10
Offset: 1
First eight rows:
1
3 2
10 10 3
33 46 22 4
109 194 131 40 5
360 780 678 296 65 6
1189 3036 3228 1828 581 98 7
3927 11546 14514 10100 4194 1036 140 8
Row 4 represents the polynomial p(4,x) = 33 + 46*x + 22*x^2 + 4*x^3, so (T(4,k)) = (33,46,22,4), k=0..3.
Cf.
A006190 (column 1);
A000027 (p(n,n-1));
A107839 (row sums, p(n,1));
A001045 (alternating row sums, p(n,-1));
A030240 (p(n,2));
A039834 (signed Fibonacci numbers, p(n,-2));
A016130 (p(n,3));
A225883 (p(n,-3));
A099450 (p(n,-4));
A094440,
A367208,
A367209,
A367210,
A367211,
A367297,
A367298,
A367299.
-
p[1, x_] := 1; p[2, x_] := 3 + 2 x; u[x_] := p[2, x]; v[x_] := 1 - 2 x - x^2;
p[n_, x_] := Expand[u[x]*p[n - 1, x] + v[x]*p[n - 2, x]]
Grid[Table[CoefficientList[p[n, x], x], {n, 1, 10}]]
Flatten[Table[CoefficientList[p[n, x], x], {n, 1, 10}]]
A006138
a(n) = a(n-1) + 3*a(n-2).
Original entry on oeis.org
1, 2, 5, 11, 26, 59, 137, 314, 725, 1667, 3842, 8843, 20369, 46898, 108005, 248699, 572714, 1318811, 3036953, 6993386, 16104245, 37084403, 85397138, 196650347, 452841761, 1042792802, 2401318085, 5529696491, 12733650746, 29322740219, 67523692457, 155491913114
Offset: 0
- N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- N. T. Gridgeman, A new look at Fibonacci generalization, Fib,. Quart., 11 (1973), 40-55.
- Simon Plouffe, Approximations de séries génératrices et quelques conjectures, Dissertation, Université du Québec à Montréal, 1992; arXiv:0911.4975 [math.NT], 2009.
- Simon Plouffe, 1031 Generating Functions, Appendix to Thesis, Montreal, 1992
- Index entries for linear recurrences with constant coefficients, signature (1,3).
-
a:=[1,2];; for n in [3..40] do a[n]:=a[n-1]+3*a[n-2]; od; a; # G. C. Greubel, Nov 19 2019
-
[n le 2 select n else Self(n-1)+3*Self(n-2): n in [1..40]]; // Vincenzo Librandi, Sep 15 2016
-
A006138:=-(1+z)/(-1+z+3*z**2); # Simon Plouffe in his 1992 dissertation
-
CoefficientList[Series[(1+z)/(1-z-3*z^2), {z,0,40}], z] (* Vladimir Joseph Stephan Orlovsky, Jun 11 2011 *)
Table[(I*Sqrt[3])^(n-1)*(I*Sqrt[3]*ChebyshevU[n, 1/(2*I*Sqrt[3])] + ChebyshevU[n-1, 1/(2*I*Sqrt[3])]), {n, 0, 40}]//Simplify (* G. C. Greubel, Nov 19 2019 *)
LinearRecurrence[{1,3},{1,2},40] (* Harvey P. Dale, May 29 2025 *)
-
main(size)={my(v=vector(size),i);v[1]=1;v[2]=2;for(i=3,size,v[i]=v[i-1]+3*v[i-2]);return(v);} /* Anders Hellström, Jul 17 2015 */
-
def A006138_list(prec):
P. = PowerSeriesRing(ZZ, prec)
return P((1+x)/(1-x-3*x^2)).list()
A006138_list(40) # G. C. Greubel, Nov 19 2019
A057089
Scaled Chebyshev U-polynomials evaluated at i*sqrt(6)/2. Generalized Fibonacci sequence.
Original entry on oeis.org
1, 6, 42, 288, 1980, 13608, 93528, 642816, 4418064, 30365280, 208700064, 1434392064, 9858552768, 67757668992, 465697330560, 3200729997312, 21998563967232, 151195763787264, 1039165966526976, 7142170381885440
Offset: 0
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Martin Burtscher, Igor Szczyrba, and Rafał Szczyrba, Analytic Representations of the n-anacci Constants and Generalizations Thereof, Journal of Integer Sequences, Vol. 18 (2015), Article 15.4.5.
- A. F. Horadam, Special properties of the sequence W_n(a,b; p,q), Fib. Quart., 5.5 (1967), 424-434. Case n->n+1, a=0,b=1; p=6, q=6.
- Tanya Khovanova, Recursive Sequences
- Wolfdieter Lang, On polynomials related to powers of the generating function of Catalan's numbers, Fib. Quart. 38 (2000) 408-419. Eqs.(39) and (45),rhs, m=6.
- Index entries for sequences related to Chebyshev polynomials.
- Index entries for linear recurrences with constant coefficients, signature (6,6).
Cf.
A001076,
A006190,
A007482,
A015520,
A015521,
A015523,
A015524,
A015525,
A015528,
A015529,
A015530,
A015531,
A015532,
A015533,
A015534,
A015535,
A015536,
A015537,
A015440,
A015441,
A015443,
A015444,
A015445,
A015447,
A015548,
A030195,
A053404,
A057087,
A057088,
A083858,
A085939,
A090017,
A091914,
A099012,
A135030,
A135032,
A180222,
A180226,
A180250.
-
I:=[1,6]; [n le 2 select I[n] else 6*Self(n-1)+6*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 14 2011
-
Join[{a=0,b=1},Table[c=6*b+6*a;a=b;b=c,{n,100}]] (* Vladimir Joseph Stephan Orlovsky, Jan 16 2011 *)
LinearRecurrence[{6,6},{1,6},40] (* Harvey P. Dale, Nov 05 2011 *)
-
x='x+O('x^30); Vec(1/(1-6*x-6*x^2)) \\ G. C. Greubel, Jan 24 2018
-
[lucas_number1(n,6,-6) for n in range(1, 21)] # Zerinvary Lajos, Apr 24 2009
A084844
Denominators of the continued fraction n + 1/(n + 1/...) [n times].
Original entry on oeis.org
1, 2, 10, 72, 701, 8658, 129949, 2298912, 46866034, 1082120050, 27916772489, 795910114440, 24851643870041, 843458630403298, 30918112619119426, 1217359297034666112, 51240457936070359069, 2296067756927144738850, 109127748348241605689981
Offset: 1
a(4) = 72 since 4 + 1/(4 + 1/(4 + 1/4)) = 305/72.
-
A084844 :=proc(n) combinat[fibonacci](n, n) end:
seq(A084844(n), n=1..30); # Zerinvary Lajos, Jan 03 2007
-
myList[n_] := Module[{ex = {n}}, Do[ex = {ex, n}, {n - 1}]; Flatten[ex]] Table[Denominator[FromContinuedFraction[myList[n]]], {n, 1, 20}]
Table[s=n; Do[s=n+1/s, {n-1}]; Denominator[s], {n, 20}] (* T. D. Noe, Aug 19 2004 *)
Table[Fibonacci[n, n], {n, 1, 20}] (* Vladimir Reshetnikov, May 07 2016 *)
Table[DifferenceRoot[Function[{y,m},{y[2+m]==n*y[1+m]+y[m],y[0]==0,y[1]==1}]][n],{n,1,20}] (* Benedict W. J. Irwin, Nov 03 2016 *)
-
from sympy import fibonacci
def a(n):
return fibonacci(n, n)
print([a(n) for n in range(1, 31)]) # Indranil Ghosh, Aug 12 2017
A090880
Suppose n=(p1^e1)(p2^e2)... where p1,p2,... are the prime numbers and e1,e2,... are nonnegative integers. Then a(n) = e1 + (e2)*3 + (e3)*9 + (e4)*27 + ... + (ek)*(3^(k-1)) + ...
Original entry on oeis.org
0, 1, 3, 2, 9, 4, 27, 3, 6, 10, 81, 5, 243, 28, 12, 4, 729, 7, 2187, 11, 30, 82, 6561, 6, 18, 244, 9, 29, 19683, 13, 59049, 5, 84, 730, 36, 8, 177147, 2188, 246, 12, 531441, 31, 1594323, 83, 15, 6562, 4782969, 7, 54, 19, 732, 245, 14348907, 10, 90, 30, 2190
Offset: 1
- Joseph J. Rotman, The Theory of Groups: An Introduction, 2nd ed. Boston: Allyn and Bacon, Inc. 1973. Page 9, problem 1.26.
Cf.
A001222,
A006190,
A048675,
A054841,
A090881,
A090882,
A090883,
A090884,
A178590,
A206296,
A260443.
Comments