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.

A238693 Quotients connected with the Banach matchboxes problem: Sum_{i=1..prime(n)-5} 2^(i-1)*binomial(i+1,2)/prime(n) (case 2).

Original entry on oeis.org

0, 1, 93, 571, 16143, 79333, 1755225, 160251339, 705725473, 57691858003, 1057609507815, 4500326662525, 80662044522801, 5995948088798691, 437230824840308493, 1820340203482736875, 130228506669621162901, 2230237339841166071433, 9214275012380069727751
Offset: 3

Views

Author

Vladimir Shevelev, Mar 03 2014

Keywords

Comments

A general congruence connected with the Banach matchboxes problem is the following: for k=1,2,...,(p-1)/2, Sum_{i=1..p-2k-1} 2^(i-1)*binomial(k-1+i,k) == 0 (mod p) (p is odd prime). If k=1 (case 1), then one can prove that the corresponding quotients are 2^(prime(n)-3) - A007663(n), n >= 2.

Crossrefs

Programs

  • Mathematica
    Array[Sum[2^(i - 1)*Binomial[i + 1, 2]/#, {i, # - 5}] &@ Prime@ # &, 19, 3] (* Michael De Vlieger, Dec 06 2018 *)
  • PARI
    a(n) = sum(i=1, prime(n)-5, 2^(i-1)*binomial(i+1,2))/prime(n); \\ Michel Marcus, Dec 06 2018

Extensions

More terms from Peter J. C. Moses, Mar 03 2014
Showing 1-1 of 1 results.