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.

A140812 a(n) = A051717(2n) + A051717(2n+1).

Original entry on oeis.org

3, 9, 60, 84, 60, 132, 5460, 12, 1020, 1596, 660, 276, 5460, 12, 1740, 28644, 1020, 12, 3838380, 12, 27060, 3612, 1380, 564, 92820, 132, 3180, 1596, 1740, 708, 113573460, 12, 1020, 129444, 60, 9372, 280201740, 12, 60, 6636, 460020, 996, 6808620, 12, 122820
Offset: 0

Views

Author

Paul Curtz, Jul 16 2008

Keywords

Comments

All terms are multiples of 3.

Crossrefs

Programs

  • Maple
    C:=proc(n) if n=0 then RETURN(1); fi; if n mod 2 = 0 then RETURN(bernoulli(n)+bernoulli(n-1)); else RETURN(-bernoulli(n)-bernoulli(n-1)); fi; end:
    A051717 := proc(n) denom(C(n)) ; end: A140812 := proc(n) A051717(2*n)+A051717(2*n+1) ; end: seq(A140812(n),n=0..80) ; # R. J. Mathar, Jun 28 2009
  • Mathematica
    A051717 := Join[{1}, Denominator[Total /@ Partition[BernoulliB[Range[0, 500]], 2, 1]]]; Join[{3, 9}, Table[2*A051717[[2*n]], {n, 3,30}]] (* G. C. Greubel, Dec 22 2017 *)

Extensions

Edited and extended by R. J. Mathar, Jun 28 2009