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.

A289277 a(n) = A005259(n) mod 2*n+1.

Original entry on oeis.org

0, 2, 3, 3, 7, 0, 9, 5, 16, 6, 1, 13, 4, 26, 24, 26, 22, 30, 23, 32, 7, 9, 43, 11, 37, 29, 23, 0, 49, 40, 1, 44, 20, 54, 19, 18, 8, 20, 22, 55, 4, 70, 80, 62, 2, 31, 37, 20, 7, 44, 51, 62, 64, 76, 77, 41, 75, 75, 115, 68, 0, 35, 42, 11, 88, 59, 101, 35, 119, 11
Offset: 0

Views

Author

Seiichi Manyama, Jul 01 2017

Keywords

Crossrefs

Programs

  • Mathematica
    Table[Mod[Sum[(Binomial[n, k] Binomial[n + k, k])^2, {k, 0, n}], 2n + 1], {n, 0, 100}] (* Indranil Ghosh, Jul 01 2017 *)
  • PARI
    a(n) = sum(k=0, n, (binomial(n, k)*binomial(n+k, k))^2) % (2*n+1); \\ Michel Marcus, Jul 01 2017

Formula

If m = 2*n + 1 is a prime, a(n) = A030211(n) mod m.
Showing 1-1 of 1 results.