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

A195697 First denominator and then numerator in a fraction expansion of log(2) - Pi/8.

Original entry on oeis.org

2, 1, 3, -1, 12, 1, 30, 1, 35, -1, 56, 1, 90, 1, 99, -1, 132, 1, 182, 1, 195, -1, 240, 1, 306, 1, 323, -1, 380, 1, 462, 1, 483, -1, 552, 1, 650, 1, 675, -1, 756, 1, 870, 1, 899, -1, 992, 1, 1122, 1, 1155, -1, 1260
Offset: 1

Views

Author

Mohammad K. Azarian, Sep 25 2011

Keywords

Comments

The minus sign in front of a fraction is considered the sign of the numerator.

Examples

			1/2 - 1/3 + 1/12 + 1/30 - 1/35 + 1/56 + 1/90 - 1/99 + 1/132 + 1/182 - 1/195 + 1/240 + ... = [(1 - 1/2) + (1/3 - 1/4) + (1/5 - 1/6) + (1/7 - 1/8) + (1/9 - 1/10) + (1/11 - 1/12) + ... ] - (1/2)*[(1 - 1/3) + (1/5 - 1/7) + (1/9 - 1/11) + (1/13 - 1/15) + ... ] = log(2) - Pi/8.
		

References

  • Mohammad K. Azarian, Problem 1218, Pi Mu Epsilon Journal, Vol. 13, No. 2, Spring 2010, p. 116. Solution published in Vol. 13, No. 3, Fall 2010, pp. 183-185.
  • Granino A. Korn and Theresa M. Korn, Mathematical Handbook for Scientists and Engineers, McGraw-Hill Book Company, New York (1968).

Crossrefs

Formula

log(2) - Pi/8 = Sum_{n>=1} (-1)^(n+1)*(1/n) + (-1/2)*Sum_{n>=0} (-1)^n*(1/(2*n+1)).
Empirical g.f.: x*(2+x+x^2-2*x^3+9*x^4+2*x^5+14*x^6-2*x^7+3*x^8+2*x^9+3*x^10-2*x^11+x^13) / ((1-x)^3*(1+x)^3*(1-x+x^2)^2*(1+x+x^2)^2). - Colin Barker, Dec 17 2015

A195909 First numerator and then denominator in a fraction expansion of log(2) - Pi/8.

Original entry on oeis.org

1, 2, -1, 3, 1, 12, 1, 30, -1, 35, 1, 56, 1, 90, -1, 99, 1, 132, 1, 182, -1, 195, 1, 240, 1, 306, -1, 323, 1, 380, 1, 462, -1, 483, 1, 552, 1, 650, -1, 675, 1, 756, 1, 870, -1, 899, 1, 992, 1, 1122, -1, 1155, 1
Offset: 1

Views

Author

Mohammad K. Azarian, Sep 26 2011

Keywords

Examples

			1/2 - 1/3 + 1/12 + 1/30 - 1/35 + 1/56 + 1/90 - 1/99 + 1/132 + 1/182 - 1/195 + 1/240 + ... = [(1 - 1/2) + (1/3 - 1/4) + (1/5 - 1/6) + (1/7 - 1/8) + (1/9 - 1/10) + (1/11 - 1/12) + ... ] - (1/2)*[(1 - 1/3) + (1/5 - 1/7) + (1/9 - 1/11) + (1/13 - 1/15) + ... ] = log(2) - Pi/8.
		

References

  • Mohammad K. Azarian, Problem 1218, Pi Mu Epsilon Journal, Vol. 13, No. 2, Spring 2010, p. 116. Solution published in Vol. 13, No. 3, Fall 2010, pp. 183-185.
  • Granino A. Korn and Theresa M. Korn, Mathematical Handbook for Scientists and Engineers, McGraw-Hill Book Company, New York (1968).

Crossrefs

Formula

log(2) - Pi/8 = Sum_{n>=1} (-1)^(n+1)*(1/n) + (-1/2)*Sum_{n>=0} (-1)^n*(1/(2*n+1)).
Empirical g.f.: x*(1+2*x-2*x^2+x^3+2*x^4+9*x^5-2*x^6+14*x^7+2*x^8+3*x^9-2*x^10+3*x^11+x^12) / ((1-x)^3*(1+x)^3*(1-x+x^2)^2*(1+x+x^2)^2). - Colin Barker, Dec 17 2015

A195913 The denominator in a fraction expansion of log(2)-Pi/8.

Original entry on oeis.org

2, 3, 12, 30, 35, 56, 90, 99, 132, 182, 195, 240, 306, 323, 380, 462, 483, 552, 650, 675, 756, 870, 899, 992, 1122, 1155, 1260, 1406, 1443, 1560, 1722, 1763, 1892, 2070, 2115, 2256, 2450, 2499, 2652, 2862, 2915
Offset: 1

Views

Author

Mohammad K. Azarian, Sep 25 2011

Keywords

Comments

The minus sign in front of a fraction is considered the sign of the numerator and hence the sign of the fraction does not appear in this sequence.

Examples

			1/2 - 1/3 + 1/12 + 1/30 - 1/35 + 1/56 + 1/90 - 1/99 + 1/132 + 1/182 - 1/195 + 1/240 + ... = [(1 - 1/2) + (1/3 - 1/4) + (1/5 - 1/6) + (1/7 - 1/8) + (1/9 - 1/10) + (1/11 - 1/12) + ...] - (1/2)*[(1 - 1/3) + (1/5 - 1/7) + (1/9 - 1/11) + (1/13 - 1/15) + ... ] = log(2) - Pi/8.
		

References

  • Granino A. Korn and Theresa M. Korn, Mathematical Handbook for Scientists and Engineers, McGraw-Hill Book Company, New York (1968).

Crossrefs

Formula

log(2) - Pi/8 = Sum_{n>=1} (-1)^(n+1)*(1/n) + (-1/2)*Sum_{n>=0} (-1)^n*(1/(2*n+1)).
Empirical g.f.: x*(2+x+9*x^2+14*x^3+3*x^4+3*x^5) / ((1-x)^3*(1+x+x^2)^2). - Colin Barker, Dec 17 2015
From Bernard Schott, Aug 11 2019: (Start)
k >= 1, a(3*k) = (4*k-1) * 4*k,
k >= 0, a(3*k+1) = (4*k+1) * (4*k+2),
k >= 0, a(3*k+2) = (4*k+1) * (4*k+3).
The even terms a(3*k) and a(3*k+1) come from log(2) and the odd terms a(3*k+2) come from - Pi/8. (End)

A168057 Expansion of (1+8x^2+8x^3)/((1-2x)^2*(1+2x+4x^2)).

Original entry on oeis.org

1, 2, 12, 40, 80, 224, 576, 1152, 2816, 6656, 13312, 30720, 69632, 139264, 311296, 688128, 1376256, 3014656, 6553600, 13107200, 28311552, 60817408, 121634816, 260046848, 553648128, 1107296256, 2348810240, 4966055936, 9932111872
Offset: 0

Views

Author

Paul Barry, Nov 17 2009

Keywords

Comments

Hankel transform of A168058 is (-1)^n*a(n).

Programs

  • Mathematica
    CoefficientList[Series[(1+8x^2+8x^3)/((1-2x)^2(1+2x+4x^2)), {x,0,50}],x] (* Harvey P. Dale, Mar 24 2011 *)
    LinearRecurrence[{2, 0, 8, -16}, {1, 2, 12, 40}, 50] (* G. C. Greubel, Jul 08 2016 *)

Formula

a(n) = 2^n*A168056(n).

A222657 a(n) = 2 * floor( (2*n + 1) / 3) + 1.

Original entry on oeis.org

1, 3, 3, 5, 7, 7, 9, 11, 11, 13, 15, 15, 17, 19, 19, 21, 23, 23, 25, 27, 27, 29, 31, 31, 33, 35, 35, 37, 39, 39, 41, 43, 43, 45, 47, 47, 49, 51, 51, 53, 55, 55, 57, 59, 59, 61, 63, 63, 65, 67, 67, 69, 71, 71, 73, 75, 75, 77, 79, 79, 81, 83, 83, 85, 87, 87, 89
Offset: 0

Views

Author

Michael Somos, May 29 2013

Keywords

Comments

Dimension of the space of weight 2n+4 cusp forms for Gamma_0(7).

Examples

			G.f. = 1 + 3*x + 3*x^2 + 5*x^3 + 7*x^4 + 7*x^5 + 9*x^6 + 11*x^7 + 11*x^8 + ...
		

Crossrefs

Programs

  • Mathematica
    Table[2Floor[(2n+1)/3]+1,{n,0,70}] (* or *) LinearRecurrence[{1,0,1,-1},{1,3,3,5},70] (* Harvey P. Dale, Sep 17 2024 *)
  • PARI
    {a(n) = (2*n + 1) \ 3 * 2 + 1};
    
  • Sage
    def a(n) : return( len( CuspForms( Gamma0( 7), 2*n + 4, prec=1). basis()));

Formula

G.f.: (1 + 2*x + x^3) / (1 - x - x^3 + x^4).
a(-n) = - A168056(n - 1).
a(n) = - A168053(n + 2).
a(n+3) = a(n) + 4.
a(n) = (12*n+9+4*sqrt(3)*sin(2*n*Pi/3))/9. - Wesley Ivan Hurt, Sep 29 2017
Showing 1-5 of 5 results.