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-7 of 7 results.

A141045 Triangle of subsequences of A140825 with a mirror symmetry.

Original entry on oeis.org

-1, 1, -1, -19, 11, -19, 27, -11, 11, -27, -863, 271, -191, 271, -863, 1375, -351, 191, -191, 351, -1375, -33953, 7297, -3233, 2497, -3233, 7297, -33953
Offset: 0

Views

Author

Paul Curtz, Jul 31 2008

Keywords

Comments

The triangle shows A140825(3) in the first row and fills the n-th row by successively skipping two terms of A140825 and taking the next n terms. The absolute values of the triangle generated this way are symmetric with respect to mirror-operation at the row centers. We are essentially reading numerators down columns of the triangle in A140825, a(i,j), 0<=i<=j-2.

Examples

			The triangle starts:
-1;
1, -1;
-19, 11, -19;
27, -11, 11, -27;
		

Extensions

Edited by R. J. Mathar, Aug 12 2008

A157982 Triangle T(n,m) read by rows which contains the coefficients [x^m] of the polynomial generating the numerators of the column A140825(.,n).

Original entry on oeis.org

1, 1, 2, -1, 0, 6, 1, 0, -6, 4, -19, 0, 120, -120, 30, 27
Offset: 0

Views

Author

Paul Curtz, Mar 10 2009

Keywords

Comments

The first five polynomials describing the first five columns of A140825 are in A000012, A005408, A140811, A141530 and A157411.

Examples

			1;
1,2;     # 2n+1
-1,0,6;  # 6n^2-1
1,0,-6,4;  # 4n^3-6n^2+1, A141530
-19,0,120,-120,30;  # 30n^4-120n^3+120n^2-19, A157411
		

References

  • P Curtz Integration numerique des systemes differentiels a conditions initiales, C.C.S.A., Arcueil, 1969, p.36.

Crossrefs

Cf. A141417.

A140811 a(n) = 6*n^2 - 1.

Original entry on oeis.org

-1, 5, 23, 53, 95, 149, 215, 293, 383, 485, 599, 725, 863, 1013, 1175, 1349, 1535, 1733, 1943, 2165, 2399, 2645, 2903, 3173, 3455, 3749, 4055, 4373, 4703, 5045, 5399, 5765, 6143, 6533, 6935, 7349, 7775, 8213, 8663, 9125, 9599, 10085, 10583, 11093, 11615
Offset: 0

Views

Author

Paul Curtz, Jul 16 2008

Keywords

Comments

Also: The numerators in the j=2 column of the array a(i,j) defined in A140825, where the columns j=0 and j=1 are represented by A000012 and A005408. This could be extended to column j=3: 1, -1, 9, 55, 161, ... The common feature of these sequences derived from a(i,j) is that their j-th differences are constant sequences defined by A091137(j).
a(n) is the set of all k such that 6*k + 6 is a perfect square. - Gary Detlefs, Mar 04 2010
The identity (6*n^2 - 1)^2 - (9*n^2 - 3)*(2*n)^2 = 1 can be written as a(n+1)^2 - A157872(n)*A005843(n+1)^2 = 1. - Vincenzo Librandi, Feb 05 2012
Apart from first term, sequence found by reading the line from 5, in the direction 5, 23, ..., in the square spiral whose vertices are the generalized pentagonal numbers A001318. - Omar E. Pol, Jul 18 2012
From Paul Curtz, Sep 17 2018: (Start)
Terms from center to right in the following spiral:
.
65--63--61--59
/ \
67 31--29--27 57
/ / \ \
69 33 9---7 25 55
/ / / \ \ \
71 35 11 -1===5==23==53==>
/ / / / / /
37 13 1---3 21 51
\ \ / /
39 15--17--19 49
\ /
41--43--45--47 (End)

References

  • P. Curtz, Intégration numérique des systèmes différentiels à conditions initiales, Note 12, Centre de Calcul Scientifique de l'Armement, Arcueil, 1969, 132 pages, pp. 28-36. CCSA, then CELAR. Now DGA Maitrise de l'Information 35131 Bruz.

Crossrefs

Programs

Formula

a(n) = 2*a(n-1) - a(n-2) + 12.
First differences: a(n+1) - a(n) = A017593(n).
Second differences: A071593(n+1) - A071593(n) = 12.
G.f.: (1-8*x-5*x^2)/(x-1)^3. - Jaume Oliver Lafont, Aug 30 2009
From Vincenzo Librandi, Feb 05 2012: (Start)
a(n) = a(n-1) + 12*n - 6.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3). (End)
a(n) = A033581(n) - 1. - Omar E. Pol, Jul 18 2012
a(n) = A032528(2*n) - 1. - Adriano Caroli, Jul 21 2013
For n > 0, a(n) = floor(3/(cosh(1/n) - 1)) = floor(1/(n*sinh(1/n) - 1)); for similar formulas for cosine and sine, see A033581. - Clark Kimberling, Oct 19 2014, corrected by M. F. Hasler, Oct 21 2014
a(-n) = a(n). - Paul Curtz, Sep 17 2018
From Amiram Eldar, Feb 04 2021: (Start)
Sum_{n>=1} 1/a(n) = (1 - (Pi/sqrt(6))*cot(Pi/sqrt(6)))/2.
Sum_{n>=1} (-1)^(n+1)/a(n) = ((Pi/sqrt(6))*csc(Pi/sqrt(6)) - 1)/2.
Product_{n>=1} (1 + 1/a(n)) = (Pi/sqrt(6))*csc(Pi/sqrt(6)).
Product_{n>=1} (1 - 1/a(n)) = csc(Pi/sqrt(6))*sin(Pi/sqrt(3))/sqrt(2). (End)
a(n) = A003154(n+1) - 2*A016777(n). - Leo Tavares, May 13 2022
E.g.f.: exp(x)*(6*x^2 + 6*x - 1). - Elmo R. Oliveira, Jan 16 2025

Extensions

Edited and extended by R. J. Mathar, Aug 06 2008
Better description Ray Chandler, Feb 03 2009

A141417 (-1)^(n+1)*A091137(n)*a(0,n), where a(i,j) = Integral_{x=i..i+1} x*(x-1)*(x-2)*...*(x-j+1)/j! dx.

Original entry on oeis.org

-1, 1, 1, 1, 19, 27, 863, 1375, 33953, 57281, 3250433, 5675265, 13695779093, 24466579093, 132282840127, 240208245823, 111956703448001, 205804074290625, 151711881512390095, 281550972898020815, 86560056264289860203, 161867055619224199787, 20953816286242674495191, 39427936010479474495191
Offset: 0

Views

Author

Paul Curtz, Aug 05 2008

Keywords

Comments

This is row i=0 of an array defined as T(i,j) = (-1)^(i+j+1)*A091137(j)*a(i,j), columns j >= 0, which starts
-1, 1, 1, 1, 19, 27, 863, ...
1, -3, 5, 1, 11, 11, 271, ...
-1, 5, -23, 9, 19, 11, 191, ...
1, -7, 53, -55, 251, 27, 271, ...
-1, 9, -95, 161, -1901, 475, 863, ...
1, -11, 149, -351, 6731, -4277, 19087, ...
...
The first two rows are related via T(0,j) = A027760(j)*T(0,j-1) - T(1,j).

References

  • P. Curtz, Integration .., note 12, C.C.S.A., Arcueil, 1969.

Crossrefs

Programs

  • Maple
    A091137 := proc(n) local a, i, p ; a := 1 ; for i from 1 do p := ithprime(i) ; if p > n+1 then break; fi; a := a*p^floor(n/(p-1)) ; od: a ; end proc:
    A048994 := proc(n, k) combinat[stirling1](n, k) ; end proc:
    a := proc(i,j) add(A048994(j,k)*x^k,k=0..j) ; int(%,x=i..i+1) ; %/j! ; end proc:
    A141417 := proc(n) (-1)^(n+1)*A091137(n)*a(0,n) ; end proc:
    seq(A141417(n),n=0..40) ; # R. J. Mathar, Nov 17 2010
  • Mathematica
    (* a7 = A091137 *) a7[n_] := a7[n] = Times @@ Select[ Divisors[n]+1, PrimeQ]*a7[n-1]; a7[0]=1; a[n_] := (-1)^(n+1) * a7[n] * Integrate[ (-1)^n*Pochhammer[-x, n], {x, 0, 1}]/n!; Table[a[n], {n, 0, 10}] (* Jean-François Alcover, Aug 10 2012 *)
  • Maxima
    a(n):=if n=0 then -1 else num(n*(n+1)*sum(((-1)^(n-k)*stirling2(n+k,k)*binomial(2*n-1,n-k))/((n+k)*(n+k-1)),k,1,n)); /* Vladimir Kruchinin, Dec 12 2016 */

Formula

a(i,j) = a(i-1,j) + a(i-1,j-1), see reference page 33.
(q+1-j)*Sum_{j=0..q} a(i,j)*(-1)^(q-j) = binomial(i,q), see reference page 35.
a(n) = numerator(n*(n+1)*Sum_{k=1..n} ((-1)^(n-k)*Stirling2(n+k,k)*binomial(2*n-1,n-k))/((n+k)*(n+k-1))), n>0, a(0)=-1. - Vladimir Kruchinin, Dec 12 2016

Extensions

Erroneous formula linking A091137 and A002196 removed, and more terms and program added by R. J. Mathar, Nov 17 2010

A141047 Numerators of A091137(n)*T(n,n)/n! where T(i,j)=Integral (x= i.. i+1) x*(x-1)*(x-2)* .. *(x-j+1) dx.

Original entry on oeis.org

1, 3, 23, 55, 1901, 4277, 198721, 434241, 14097247, 30277247, 2132509567, 4527766399, 13064406523627, 27511554976875, 173233498598849, 362555126427073, 192996103681340479, 401972381695456831, 333374427829017307697, 691668239157222107697, 236387355420350878139797
Offset: 0

Views

Author

Paul Curtz, Jul 31 2008

Keywords

Comments

Numerators of the main diagonal of the array A091137(j)*T(i,j)/j! where T(i,j)=Integral (x= i.. i+1) x*(x-1)*(x-2)* .. *(x-j+1) dx.
The reduced fractions of the array T(i,j) are shown in A140825, which also describes how the integrand is a generating function of Stirling numbers.
The sequence A027760 plays a role i) in relating to A091137 as described there and
ii) in a(n+1)-A027760(n+1)*a(n)= A002657(n+1), numerators of the diagonal T(n,n+1).

References

  • P. Curtz, Integration numerique des systemes differentiels a conditions initiales. Note 12, Centre de Calcul Scientifique de l' Armement, Arcueil (1969), p. 36.

Crossrefs

Programs

  • Maple
    T := proc(i,j) local var,k ; var := x ; for k from 1 to j-1 do var := var*(x-k) ; od: int(var,x=i..i+1) ; simplify(A091137(j)*%/j!) ; numer(%) ; end:
    A141047 := proc(n) T(n,n) ; end: for n from 0 to 20 do printf("%a,",A141047(n) ) ; od: # R. J. Mathar, Feb 23 2009
  • Mathematica
    b[n_] := b[n] = (* A091137 *) If[n==0, 1, Product[d, {d, Select[Divisors[n] + 1, PrimeQ]}]*b[n-1]]; T[i_, j_] := Integrate[Product[x-k, {k, 0, j-1}], {x, i, i+1}]; a[n_] := b[n]*T[n, n]/n!; Table[a[n] // Numerator, {n, 0, 20}] (* Jean-François Alcover, Jan 10 2016 *)

Formula

a(n) = numerator( A091137(n)*T(n,n)/n!) where T(n,n) = sum_{k=0..n} A048994(n,k)*((n+1)^(k+1)-n^(k+1))/(k+1).

Extensions

Edited and extended by R. J. Mathar, Feb 23 2009

A157411 a(n) = 30*n^4 - 120*n^3 + 120*n^2 - 19.

Original entry on oeis.org

-19, 11, -19, 251, 1901, 6731, 17261, 36731, 69101, 119051, 191981, 294011, 431981, 613451, 846701, 1140731, 1505261, 1950731, 2488301, 3129851, 3887981, 4776011, 5807981, 6998651, 8363501, 9918731, 11681261, 13668731, 15899501, 18392651
Offset: 0

Views

Author

Paul Curtz, Feb 28 2009

Keywords

Comments

These are the numerators in column j=4 of the array in A140825 (reference p. 36).
The other columns in A140825 are represented by A000012, A005408, A140811 and A141530.
The link between these columns is given by the first differences: a(n+1) - a(n) = 30*A141530(n), where 30 = A027760(4) = A027760(3) = A027642(4) = A002445(2), then for j=3, A141530(n+1) - A141530(n) = A140070(2)*A140811(n).

References

  • P. Curtz, Integration numerique des systemes differentiels a conditions initiales, Centre de Calcul Scientifique de l'Armement, Note 12, Arcueil (1969).

Programs

  • Magma
    [30*n^4 - 120*n^3 + 120*n^2 - 19: n in [0..50]]; // Vincenzo Librandi, Aug 07 2011
    
  • Mathematica
    Table[30n^4-120n^3+120n^2-19,{n,0,40}] (* or *) LinearRecurrence[{5,-10,10,-5,1},{-19,11,-19,251,1901},40] (* Harvey P. Dale, Mar 08 2015 *)
  • PARI
    a(n)=30*n^4-120*n^3+120*n^2-19 \\ Charles R Greathouse IV, Oct 16 2015

Formula

a(n)= 5*a(n-1) - 10*a(n-2) + 10*a(n-3) - 5*a(n-4) + a(n-5).
G.f.: (-19 + 106*x - 264*x^2 + 646*x^3 + 251*x^4)/(1-x)^5.
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + 720. Fourth differences are constant, 720.

Extensions

Edited, one index corrected and extended by R. J. Mathar, Sep 17 2009

A165313 Triangle T(n,k) = A091137(k-1) read by rows.

Original entry on oeis.org

1, 1, 2, 1, 2, 12, 1, 2, 12, 24, 1, 2, 12, 24, 720, 1, 2, 12, 24, 720, 1440, 1, 2, 12, 24, 720, 1440, 60480, 1, 2, 12, 24, 720, 1440, 60480, 120960, 1, 2, 12, 24, 720, 1440, 60480, 120960, 3628800, 1, 2, 12, 24, 720, 1440, 60480, 120960, 3628800, 7257600, 1, 2, 12
Offset: 1

Views

Author

Paul Curtz, Sep 14 2009

Keywords

Comments

From a study of modified initialization formulas in Adams-Bashforth (1855-1883) multisteps method for numerical integration. On p.36, a(i,j) comes from (j!)*a(i,j) = Integral_{u=i,..,i+1} u*(u-1)*...*(u-j+1) du; see p.32.
Then, with i vertical, j horizontal, with unreduced fractions, partial array is:
0) 1, 1/2, -1/12, 1/24, -19/720, 27/1440, ... = 1/log(2)
1) 1, 3/2, 5/12, -1/24, 11/720, -11/1440, ... = 2/log(2)
2) 1, 5/2, 23/12, 9/24, -19/720, 11/1440, ... = 4/log(2)
3) 1, 7/2, 53/12, 55/24, 251/720, -27/1440, ... = 8/log(2)
4) 1, 9/2, 95/12, 161/24, 1901/720, 475/1440, ... = 16/log(2)
5) 1, 11/2, 149/12, 351/24, 6731/720, 4277/1440, ... = 32/log(2)
... [improved by Paul Curtz, Jul 13 2019]
First line: the reduced terms are A002206/A002207, logarithmic or Gregory numbers G(n). The difference between the second line and the first one is 0 together A002206/A002207. This is valid for the next lines. - Paul Curtz, Jul 13 2019
See A141417, A140825, A157982, horizontal numerators: A141047, vertical numerators: A000012, A005408, A140811, A141530, A157411. On p.56, coefficients are s(i,q) = (1/q!)* Integral_{u=-i-1,..,1} u*(u+1)*...*(u+q-1) du.
Unreduced fractions array is:
-1) 1, 1/2, 5/12, 9/24, 251/720, 475/1440, ... = A002657/A091137
0) 2, 0/2, 4/12, 8/24, 232/720, 448/1440, ... = A195287/A091137
1) 3, -3/2, 9/12, 9/24, 243/720, 459/1440, ...
2) 4, -8/2, 32/12, 0/24, 224/720, 448/1440, ...
3) 5, -15/2, 85/12, -55/24, 475/720, 475/1440, ...
...
(on p.56 up to 6)). See A147998. Vertical numerators: A000027, A147998, A152064, A157371, A165281.
From Paul Curtz, Jul 14 2019: (Start)
Difference table from the second line and the first one difference:
1, -1/2, -1/12, -1/24, -19/720, -27/1440, ...
-3/2, 5/12, 1/24, 11/720, 11/1440, ...
23/12, -9/24, -19/720, -11/1440, ...
-55/24, 251/720, 27/1440, ...
1901/720, -475/1440,
-4277/1440, ...
...
Compare the lines to those of the first array.
The verticals are the signed diagonals of the first array. (End)

Examples

			1;
1,2;
1,2,12;
1,2,12,24;
1,2,12,24,720;
		

References

  • P. Curtz, Intégration numérique des systèmes différentiels à conditions initiales, Centre de Calcul Scientifique de l'Armement, Note 12, Arcueil, 1969.

Crossrefs

Programs

  • Mathematica
    (* a = A091137 *) a[n_] := a[n] = Product[d, {d, Select[Divisors[n]+1, PrimeQ]}]*a[n-1]; a[0]=1; Table[Table[a[k-1], {k, 1, n}], {n, 1, 11}] // Flatten (* Jean-François Alcover, Dec 18 2014 *)
Showing 1-7 of 7 results.