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.

A265403 Numbers n for which gcd{k=1..n-1} binomial(2*n, 2*k) = 2n-1.

Original entry on oeis.org

10, 12, 21, 22, 24, 30, 34, 36, 40, 51, 52, 55, 57, 69, 70, 76, 82, 84, 87, 90, 96, 99, 100, 106, 112, 114, 115, 117, 120, 129, 132, 136, 141, 142, 147, 154, 156, 159, 166, 174, 177, 180, 184, 187, 192, 195, 201, 205, 210, 216, 217, 220, 222, 225, 231, 232, 234, 240, 244, 246, 250, 252, 255, 261, 262, 274, 279, 282, 285, 286, 294, 297, 300
Offset: 1

Views

Author

Antti Karttunen, Dec 08 2015

Keywords

Crossrefs

Cf. A265388.
Cf. also A265402.

Programs

  • Mathematica
    Select[Range@ 300, GCD @@ Array[Function[k, Binomial[2 #, 2 k]], {# - 1}] == 2 # - 1 &] (* Michael De Vlieger, Dec 11 2015 *)
  • PARI
    isok(n) = (n>1) && gcd(vector(n-1, k, binomial(2*n, 2*k))) == 2*n-1; \\ Michel Marcus, Dec 08 2015, edited by Antti Karttunen, Dec 11 2015 (see A265388 for why).