cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-8 of 8 results.

A261327 a(n) = (n^2 + 4) / 4^((n + 1) mod 2).

Original entry on oeis.org

1, 5, 2, 13, 5, 29, 10, 53, 17, 85, 26, 125, 37, 173, 50, 229, 65, 293, 82, 365, 101, 445, 122, 533, 145, 629, 170, 733, 197, 845, 226, 965, 257, 1093, 290, 1229, 325, 1373, 362, 1525, 401, 1685, 442, 1853, 485, 2029, 530, 2213, 577, 2405, 626, 2605, 677
Offset: 0

Views

Author

Paul Curtz, Aug 15 2015

Keywords

Comments

Using (n+sqrt(4+n^2))/2, after the integer 1 for n=0, the reduced metallic means are b(1) = (1+sqrt(5))/2, b(2) = 1+sqrt(2), b(3) = (3+sqrt(13))/2, b(4) = 2+sqrt(5), b(5) = (5+sqrt(29))/2, b(6) = 3+sqrt(10), b(7) = (7+sqrt(53))/2, b(8) = 4+sqrt(17), b(9) = (9+sqrt(85))/2, b(10) = 5+sqrt(26), b(11) = (11+sqrt(125))/2 = (11+5*sqrt(5))/2, ... . The last value yields the radicals in a(n) or A013946.
b(2) = 2.41, b(3) = 3.30, b(4) = 4.24, b(5) = 5.19 are "good" approximations of fractal dimensions corresponding to dimensions 3, 4, 5, 6: 2.48, 3.38, 4.33 and 5.45 based on models. See "Arbres DLA dans les espaces de dimension supérieure: la théorie des peaux entropiques" in Queiros-Condé et al. link. DLA: beginning of the title of the Witten et al. link.
Consider the symmetric array of the half extended Rydberg-Ritz spectrum of the hydrogen atom:
0, 1/0, 1/0, 1/0, 1/0, 1/0, 1/0, 1/0, ...
-1/0, 0, 3/4, 8/9, 15/16, 24/25, 35/36, 48/49, ...
-1/0, -3/4, 0, 5/36, 3/16, 21/100, 2/9, 45/196, ...
-1/0, -8/9, -5/36, 0, 7/144, 16/225, 1/12, 40/441, ...
-1/0, -15/16, -3/16, -7/144, 0, 9/400, 5/144, 33/784, ...
-1/0, -24/25, -21/100, -16/225, -9/400, 0, 11/900, 24/1225, ...
-1/0, -35/36, -2/9, -1/12, -5/144, -11/900, 0, 13/1764, ...
-1/0, -48/49, -45/196, -40/441, -33/784, -24/1225, -13/1764, 0, ... .
The numerators are almost A165795(n).
Successive rows: A000007(n)/A057427(n), A005563(n-1)/A000290(n), A061037(n)/A061038(n), A061039(n)/A061040(n), A061041(n)/A061042(n), A061043(n)/A061044(n), A061045(n)/A061046(n), A061047(n)/A061048(n), A061049(n)/A061050(n).
A144433(n) or A195161(n+1) are the numerators of the second upper diagonal (denominators: A171522(n)).
c(n+1) = a(n) + a(n+1) = 6, 7, 15, 18, 34, 39, 63, 70, 102, 111, ... .
c(n+3) - c(n+1) = 9, 11, 19, 21, 29, 31, ... = A090771(n+2).
The final digit of a(n) is neither 4 nor 8. - Paul Curtz, Jan 30 2019

Crossrefs

Programs

  • Magma
    [Numerator(1+n^2/4): n in [0..60]]; // Vincenzo Librandi, Aug 15 2015
    
  • Maple
    A261327:=n->numer((4 + n^2)/4); seq(A261327(n), n=0..60); # Wesley Ivan Hurt, Aug 15 2015
  • Mathematica
    LinearRecurrence[{0, 3, 0, -3, 0, 1}, {1, 5, 2, 13, 5, 29}, 60] (* Vincenzo Librandi, Aug 15 2015 *)
    a[n_] := (n^2 + 4) / 4^Mod[n + 1, 2]; Table[a[n], {n, 0, 52}] (* Peter Luschny, Mar 18 2022 *)
  • PARI
    vector(60, n, n--; numerator(1+n^2/4)) \\ Michel Marcus, Aug 15 2015
    
  • PARI
    Vec((1+5*x-x^2-2*x^3+2*x^4+5*x^5)/(1-x^2)^3 + O(x^60)) \\ Colin Barker, Aug 15 2015
    
  • PARI
    a(n)=if(n%2,n^2+4,(n/2)^2+1) \\ Charles R Greathouse IV, Oct 16 2015
    
  • Python
    [(n*n+4)//4**((n+1)%2) for n in range(60)] # Gennady Eremin, Mar 18 2022
  • Sage
    [numerator(1+n^2/4) for n in (0..60)] # G. C. Greubel, Feb 09 2019
    

Formula

a(n) = numerator(1 + n^2/4). (Previous name.) See A010685 (denominators).
a(2*k) = 1 + k^2.
a(2*k+1) = 5 + 4*k*(k+1).
a(2*k+1) = 4*a(2*k) + 4*k + 1.
a(4*k+2) = A069894(k). - Paul Curtz, Jan 30 2019
a(-n) = a(n).
a(n+2) = a(n) + A144433(n) (or A195161(n+1)).
a(n) = A168077(n) + period 2: repeat 1, 4.
a(n) = A171621(n) + period 2: repeat 2, 8.
From Colin Barker, Aug 15 2015: (Start)
a(n) = (5 - 3*(-1)^n)*(4 + n^2)/8.
a(n) = n^2/4 + 1 for n even;
a(n) = n^2 + 4 for n odd.
a(n) = 3*a(n-2) - 3*a(n-4) + a(n-6) for n>5.
G.f.: (1 + 5*x - x^2 - 2*x^3 + 2*x^4 + 5*x^5)/ (1 - x^2)^3. (End)
E.g.f.: (5/8)*(x^2 + x + 4)*exp(x) - (3/8)*(x^2 - x + 4)*exp(-x). - Robert Israel, Aug 18 2015
Sum_{n>=0} 1/a(n) = (4*coth(Pi)+tanh(Pi))*Pi/8 + 1/2. - Amiram Eldar, Mar 22 2022

Extensions

New name by Peter Luschny, Mar 18 2022

A244593 Decimal expansion of z_c = phi^5 (where phi is the golden ratio), a lattice statistics constant which is the exact value of the critical activity of the hard hexagon model.

Original entry on oeis.org

1, 1, 0, 9, 0, 1, 6, 9, 9, 4, 3, 7, 4, 9, 4, 7, 4, 2, 4, 1, 0, 2, 2, 9, 3, 4, 1, 7, 1, 8, 2, 8, 1, 9, 0, 5, 8, 8, 6, 0, 1, 5, 4, 5, 8, 9, 9, 0, 2, 8, 8, 1, 4, 3, 1, 0, 6, 7, 7, 2, 4, 3, 1, 1, 3, 5, 2, 6, 3, 0, 2, 3, 1, 4, 0, 9, 4, 5, 1, 2, 2, 4, 8, 5, 3, 6, 0, 3, 6, 0, 2, 0, 9, 4, 6, 9, 5, 5, 6, 8, 7, 4, 2
Offset: 2

Views

Author

Jean-François Alcover, Jul 01 2014

Keywords

Comments

Essentially the same digit sequence as A239798, A019863 and A019827. - R. J. Mathar, Jul 03 2014
The minimal polynomial of this constant is x^2 - 11*x - 1. - Joerg Arndt, Jan 01 2017

Examples

			11.09016994374947424102293417182819058860154589902881431067724311352630...
		

References

  • Steven R. Finch, Mathematical Constants, Cambridge University Press, 2003, Section 5.12.1 Phase transitions in Lattice Gas Models, p. 347.
  • Alfred S. Posamentier, Math Charmers, Tantalizing Tidbits for the Mind, Prometheus Books, NY, 2003, pages 138-139.
  • David Wells, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1987. See p. 83.

Crossrefs

Programs

  • Mathematica
    RealDigits[GoldenRatio^5, 10, 103] // First
  • PARI
    (5*sqrt(5)+11)/2 \\ Charles R Greathouse IV, Aug 10 2016

Formula

Equals ((1 + sqrt(5))/2)^5 = (11 + 5*sqrt(5))/2.
Equals phi^5 = 11 + 1/phi^5 = 3 + 5*phi, an integer in the quadratic number field Q(sqrt(5)). - Wolfdieter Lang, Nov 11 2023
Equals lim_{n->infinity} S(n, 5*(-1 + 2*phi))/ S(n-1, 5*(-1 + 2*phi)), with the S-Chebyshev polynomials (see A049310). - Wolfdieter Lang, Nov 15 2023

A015454 Generalized Fibonacci numbers.

Original entry on oeis.org

1, 1, 9, 73, 593, 4817, 39129, 317849, 2581921, 20973217, 170367657, 1383914473, 11241683441, 91317382001, 741780739449, 6025563297593, 48946287120193, 397595860259137, 3229713169193289, 26235301213805449, 213112122879636881
Offset: 0

Views

Author

Keywords

Comments

a(n)/a(n-1) tends to (8 + 2*sqrt(17))/2 = exp ArcSinh 4 = A176458. - Gary W. Adamson, Dec 26 2007
For n>=1, row sums of triangle for numbers 8^k*C(m,k) with duplicated diagonals. - Vladimir Shevelev, Apr 13 2012
For n>=1, a(n) equals the numbers of words of length n-1 on alphabet {0,1,...,8} containing no subwords ii, (i=0,1,...,7). - Milan Janjic, Jan 31 2015
a(n+1) is the number of nonary sequences of length n such that no two consecutive terms have distance 5. - David Nacin, May 31 2017

Crossrefs

Row m=8 of A135597.

Programs

  • Magma
    [n le 2 select 1 else 8*Self(n-1) + Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 08 2012
    
  • Mathematica
    LinearRecurrence[{8, 1}, {1, 1}, 30] (* Vincenzo Librandi, Nov 08 2012 *)
    CoefficientList[Series[(1-7*x)/(1-8*x-x^2), {x, 0, 50}], x] (* G. C. Greubel, Dec 19 2017 *)
  • PARI
    x='x+O('x^30); Vec((1-7*x)/(1-8*x-x^2)) \\ G. C. Greubel, Dec 19 2017

Formula

a(n) = 8*a(n-1) + a(n-2).
a(n) = Sum_{k=0..n} 7^k*A055830(n,k). - Philippe Deléham, Oct 18 2006
G.f.: (1-7*x)/(1-8*x-x^2). - Philippe Deléham, Nov 20 2008
For n>=2, a(n) = F_n(8)+F_(n+1)(8), where F_n(x) is Fibonacci polynomial (cf.A049310): F_n(x) = Sum_{i=0..floor((n-1)/2)} C(n-i-1,i)*x^(n-2*i-1). - Vladimir Shevelev, Apr 13 2012
a(n) = A041025(n) -7*A041025(n-1). - R. J. Mathar, Jul 06 2012

A261391 a(n) = n^5 + 5*n^3 + 5*n.

Original entry on oeis.org

0, 11, 82, 393, 1364, 3775, 8886, 18557, 35368, 62739, 105050, 167761, 257532, 382343, 551614, 776325, 1069136, 1444507, 1918818, 2510489, 3240100, 4130511, 5206982, 6497293, 8031864, 9843875, 11969386, 14447457, 17320268, 20633239, 24435150, 28778261, 33718432, 39315243, 45632114
Offset: 0

Views

Author

Raphael Ranna, Aug 17 2015

Keywords

Comments

Also numbers of the form (n-th metallic mean)^5 - 1/(n-th metallic mean)^5, see link to Wikipedia.

Crossrefs

Programs

  • Mathematica
    Array[#^5 + 5 #^3 + 5 # &, 34] (* Michael De Vlieger, Aug 18 2015 *)
    Table[n^5 + 5*n^3 + 5*n, {n,0, 50}] (* G. C. Greubel, Aug 21 2015 *)
    LinearRecurrence[{6,-15,20,-15,6,-1},{0,11,82,393,1364,3775},40] (* Harvey P. Dale, May 07 2018 *)
  • PARI
    concat(0, Vec(x*(11*x^4+16*x^3+66*x^2+16*x+11)/(x-1)^6 + O(x^100))) \\ Colin Barker, Aug 18 2015

Formula

a(n) = ( (n+sqrt(n^2+4))/2 )^5 - 1/( (n+sqrt(n^2+4))/2 )^5.
a(n) = -a(-n) = 6*a(n-1)-15*a(n-2)+20*a(n-3)-15*a(n-4)+6*a(n-5)-a(n-6). - Colin Barker, Aug 18 2015
G.f.: x*(11*x^4+16*x^3+66*x^2+16*x+11) / (x-1)^6. - Colin Barker, Aug 18 2015
E.g.f.: (x^5 + 15*x^4 + 70*x^3 + 120*x^2 + 71*x + 11)*e^x. - G. C. Greubel, Aug 21 2015

Extensions

Offset changed from 1 to 0, initial 0 added and b-file adapted from Bruno Berselli, Aug 25 2015

A261540 a(n) = n^7 + 7*n^5 + 14*n^3 + 7*n.

Original entry on oeis.org

0, 29, 478, 4287, 24476, 101785, 337434, 946043, 2333752, 5206581, 10714070, 20633239, 37597908, 65378417, 109216786, 176222355, 275832944, 420346573, 625528782, 911300591, 1302512140, 1829807049, 2530582538, 3450050347, 4642403496, 6172093925, 8115226054
Offset: 0

Views

Author

Raphael Ranna, Aug 24 2015

Keywords

Comments

Also numbers of the form (n-th metallic mean)^7 - 1/(n-th metallic mean)^7, see link to Wikipedia.

Crossrefs

Programs

  • Magma
    [n^7 + 7*n^5 + 14*n^3 + 7*n: n in [0..30]]; // Vincenzo Librandi, Aug 24 2015
    
  • Mathematica
    Table[n^7 + 7 n^5 + 14 n^3 + 7 n, {n, 0, 30}] (* Bruno Berselli, Aug 24 2015 *)
    LinearRecurrence[{8, -28, 56, -70, 56, -28, 8, -1}, {0, 29, 478, 4287, 24476, 101785, 337434, 946043}, 30] (* Vincenzo Librandi, Aug 24 2015 *)
  • PARI
    a(n)=n^7+7*n^5+14*n^3+7*n \\ Charles R Greathouse IV, Aug 24 2015
  • Sage
    [n^7+7*n^5+14*n^3+7*n for n in (0..30)] # Bruno Berselli, Aug 24 2015
    

Formula

a(n) = -a(-n) = ( (n+sqrt(n^2+4))/2 )^7 - 1/( (n+sqrt(n^2+4))/2 )^7.
G.f.: x*(29 + 246*x + 1275*x^2 + 1940*x^3 + 1275*x^4 + 246*x^5 + 29*x^6)/(1 - x)^8. - Bruno Berselli, Aug 24 2015

Extensions

Offset changed from 1 to 0 and initial 0 added by Bruno Berselli, Aug 25 2015

A317028 Triangle read by rows: T(0,0) = 1; T(n,k) = 8 * T(n-1,k) + T(n-2,k-1) for k = 0..floor(n/2); T(n,k)=0 for n or k < 0.

Original entry on oeis.org

1, 8, 64, 1, 512, 16, 4096, 192, 1, 32768, 2048, 24, 262144, 20480, 384, 1, 2097152, 196608, 5120, 32, 16777216, 1835008, 61440, 640, 1, 134217728, 16777216, 688128, 10240, 40, 1073741824, 150994944, 7340032, 143360, 960, 1, 8589934592, 1342177280, 75497472, 1835008, 17920, 48
Offset: 0

Views

Author

Zagros Lalo, Jul 19 2018

Keywords

Comments

The numbers in rows of the triangle are along skew diagonals pointing top-left in center-justified triangle given in A013615 ((1+8*x)^n) and along skew diagonals pointing top-right in center-justified triangle given in A038279 ((8+x)^n).
The coefficients in the expansion of 1/(1-8x-x^2) are given by the sequence generated by the row sums.
The row sums are Denominators of continued fraction convergents to sqrt(17), see A041025.
If s(n) is the row sum at n, then the ratio s(n)/s(n-1) is approximately 8.12310562561766054982... (a metallic mean), when n approaches infinity (see A176458: (4+sqrt(17))).

Examples

			Triangle begins:
1;
8;
64, 1;
512, 16;
4096, 192, 1;
32768, 2048, 24;
262144, 20480, 384, 1;
2097152, 196608, 5120, 32;
16777216, 1835008, 61440, 640, 1;
134217728, 16777216, 688128, 10240, 40;
1073741824, 150994944, 7340032, 143360, 960, 1;
8589934592, 1342177280, 75497472, 1835008, 17920, 48;
68719476736, 11811160064, 754974720, 22020096, 286720, 1344, 1;
549755813888, 103079215104, 7381975040, 251658240, 4128768, 28672, 56;
4398046511104, 893353197568, 70866960384, 2768240640, 55050240, 516096, 1792, 1;
		

References

  • Shara Lalo and Zagros Lalo, Polynomial Expansion Theorems and Number Triangles, Zana Publishing, 2018, ISBN: 978-1-9995914-0-3, Pages 70, 98

Crossrefs

Row sums give A041025.
Cf. A001018 (column 0), A053539 (column 1), A081138 (column 2), A140802 (column 3), A172510 (column 4).

Programs

  • Mathematica
    t[0, 0] = 1; t[n_, k_] := If[n < 0 || k < 0, 0, 8 t[n - 1, k] + t[n - 2, k - 1]]; Table[t[n, k], {n, 0, 11}, {k, 0, Floor[n/2]}] // Flatten
  • PARI
    T(n, k) = if ((n<0) || (k<0), 0, if ((n==0) && (k==0), 1, 8*T(n-1, k)+T(n-2, k-1)));
    tabf(nn) = for (n=0, nn, for (k=0, n\2, print1(T(n, k), ", ")); print); \\ Michel Marcus, Jul 20 2018

A261574 a(n) = n*(n^2 + 3)*(n^6 + 6*n^4 + 9*n^2 + 3).

Original entry on oeis.org

0, 76, 2786, 46764, 439204, 2744420, 12813606, 48229636, 153992264, 432083484, 1092730090, 2537720636, 5489037036, 11179326964, 21624372014, 40001698260, 71163830416, 122319408236, 203920464114, 330799604044, 523606640180, 810600392196, 1229857906486
Offset: 0

Views

Author

Raphael Ranna, Aug 24 2015

Keywords

Comments

Also numbers of the form (n-th metallic mean)^9 - 1/(n-th metallic mean)^9, see link to Wikipedia.

Crossrefs

Programs

  • Magma
    [n*(n^2+3)*(n^6+6*n^4+9*n^2+3): n in [0..25]]; // Bruno Berselli, Aug 25 2015
  • Mathematica
    Table[n (n^2 + 3) (n^6 + 6 n^4 + 9 n^2 + 3), {n, 0, 25}] (* Bruno Berselli, Aug 25 2015 *)
  • PARI
    concat(0, Vec(2*x*(38*x^8 +1013*x^7 +11162*x^6 +43907*x^5 +69200*x^4 +43907*x^3 +11162*x^2 +1013*x +38) / (x -1)^10 + O(x^50))) \\ Colin Barker, Aug 25 2015
    

Formula

a(n) = -a(-n) = ( (n+sqrt(n^2+4))/2 )^9-1/( (n+sqrt(n^2+4))/2 )^9.
G.f.: 2*x*(38*x^8 +1013*x^7 +11162*x^6 +43907*x^5 +69200*x^4 +43907*x^3 +11162*x^2 +1013*x +38) / (x -1)^10. - Colin Barker, Aug 25 2015

Extensions

Formula in Name by Colin Barker, Aug 25 2015
Offset changed from 1 to 0 and initial 0 added by Bruno Berselli, Aug 25 2015

A351898 Decimal expansion of metallic ratio for N = 14.

Original entry on oeis.org

1, 4, 0, 7, 1, 0, 6, 7, 8, 1, 1, 8, 6, 5, 4, 7, 5, 2, 4, 4, 0, 0, 8, 4, 4, 3, 6, 2, 1, 0, 4, 8, 4, 9, 0, 3, 9, 2, 8, 4, 8, 3, 5, 9, 3, 7, 6, 8, 8, 4, 7, 4, 0, 3, 6, 5, 8, 8, 3, 3, 9, 8, 6, 8, 9, 9, 5, 3, 6, 6, 2, 3, 9, 2, 3, 1, 0, 5, 3, 5, 1, 9, 4, 2, 5, 1, 9
Offset: 2

Views

Author

A.H.M. Smeets, Feb 24 2022

Keywords

Comments

Decimal expansion of continued fraction [14; 14, 14, 14, ...].
Also largest solution of x^2 - 14 x - 1 = 0.
Essentially the same digit sequence as A010503, A157214, A174968 and A268683.
The metallic ratio's for N = A077444(n) are equal to powers of the silver ratio, i.e., A014166^(2n-1); this constant represents the special case for N = A077444(2).

Examples

			14.0710678118654752440084436210484903928483593...
		

Crossrefs

Metallic ratios: A001622 (N=1), A014176 (N=2), A098316 (N=3), A098317 (N=4), A098318 (N=5), A176398 (N=6), A176439 (N=7), A176458 (N=8), A176522 (N=9), A176537 (N=10), A244593 (N=11).

Programs

  • Mathematica
    RealDigits[7 + 5*Sqrt[2], 10, 100][[1]] (* Amiram Eldar, Feb 24 2022 *)
  • PARI
    (1+sqrt(2))^3

Formula

Equals 2 + 5*A014176.
Equals A014176^3.
Equals exp(arcsinh(7)). - Amiram Eldar, Jul 04 2023
Showing 1-8 of 8 results.