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

A234255 Decimal expansion of -B(12) = 691/2730, 13th Bernoulli number without sign.

Original entry on oeis.org

0, 2, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5, 3, 1, 1, 3, 5, 5
Offset: 1

Views

Author

Paul Curtz, Dec 22 2013

Keywords

Comments

Essentially of period 6: repeat [5, 3, 1, 1, 3, 5] = A110551(n+3).
691*3663 = 2531133. See A021277.
Seventh part of the constant c=0.6323809537553113569215686274509803711... .
B(24) - B(12) = -86580. See A002882.

Examples

			0.2531135531135531135531135531135531135531135...
		

Crossrefs

Programs

  • Magma
    [0,2] cat &cat [[5, 3, 1, 1, 3, 5]^^30]; // Wesley Ivan Hurt, Jun 28 2016
  • Maple
    A234255:=n->[5, 3, 1, 1, 3, 5][(n mod 6)+1]: 0,2,seq(A234255(n), n=0..100); # Wesley Ivan Hurt, Jun 28 2016
  • Mathematica
    Join[{0},RealDigits[-BernoulliB[12],10,120][[1]]] (* or *) PadRight[{0,2}, 120, {3,5,5,3,1,1}] (* Harvey P. Dale, Dec 30 2013 *)
  • PARI
    default(realprecision, 120);
    -bernfrac(12) + 0. \\ Rick L. Shepherd, Jan 15 2014
    

Formula

From Chai Wah Wu, Jun 04 2016: (Start)
a(n) = 2*a(n-1) - 2*a(n-2) + a(n-3) for n > 5.
G.f.: x^2*(2 + x - 3*x^2 + 3*x^3)/((1 - x)*(1 - x + x^2)). (End)
From Wesley Ivan Hurt, Jun 28 2016: (Start)
a(n) = a(n-6) for n>8.
a(n) = (9 - 6*cos(n*Pi/3) + 2*sqrt(3)*sin(n*Pi/3))/3 for n>2. (End)

Extensions

Offset corrected by and more terms from Rick L. Shepherd, Jan 15 2014
Showing 1-1 of 1 results.