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

A080383 Number of j (0 <= j <= n) such that the central binomial coefficient C(n,floor(n/2)) = A001405(n) is divisible by C(n,j).

Original entry on oeis.org

1, 2, 3, 4, 3, 6, 3, 6, 3, 6, 3, 6, 7, 10, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 8, 3, 6, 3, 6, 7, 10, 3, 6, 3, 6, 3, 8, 3, 6, 5, 10, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 7, 10, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 7, 10, 3, 6, 3, 6, 7, 10, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6
Offset: 0

Views

Author

Labos Elemer, Mar 12 2003

Keywords

Examples

			For n <= 500 only a few values of a(n) arise: {1,2,3,4,5,6,7,8,10,11,14}.
From _Jon E. Schoenfield_, Sep 15 2019: (Start)
a(n)=1 occurs only at n=0.
a(n)=2 occurs only at n=1.
a(n)=3 occurs for all even n > 0 such that C(n,j) divides C(n,n/2) only at j = 0, n/2, and n. (This is the case for about 4/9 of the first 100000 terms, and there appear to be nearly as many terms for which a(n)=6.)
a(n)=4 occurs only at n=3.
For n <= 100000, the only values of a(n) that occur are 1..16, 18, 19, 22, 23, and 26.
   k | Indices n (up to 100000) at which a(n)=k
  ---+-------------------------------------------------------
   1 | 0
   2 | 1
   3 | 2, 4, 6, 8, 10, 14, 16, 18, 20, 22, 24, ...
   4 | 3
   5 | 40, 176, 208, 480, 736, 928, 1248, 1440, ... (A327430)
   6 | 5, 7, 9, 11, 15, 17, 19, 21, 23, 27, 29, ... (A080384)
   7 | 12, 30, 56, 84, 90, 132, 154, 182, 220, ...  (A080385)
   8 | 25, 37, 169, 199, 201, 241, 397, 433, ...    (A080386)
   9 | 1122, 1218, 5762, 11330, 12322, 15132, ...   (A327431)
  10 | 13, 31, 41, 57, 85, 91, 133, 155, 177, ...   (A080387)
  11 | 420, 920, 1892, 1978, 2444, 2914, 3198, ...
  12 | 1103, 1703, 2863, 7773, 10603, 15133, ...
  13 | 12324, 37444
  14 | 421, 921, 1123, 1893, 1979, 1981, 2445, ...
  15 | 4960, 6956, 13160, 16354, 18542, 24388, ...
  16 | 11289, 16483, 36657, 62653, 89183
  17 |
  18 | 4961, 6957, 12325, 13161, 16355, 18543, ...
  19 | 16356, 88510, 92004
  20 |
  21 |
  22 | 16357, 88511, 90305, 92005
  23 | 90306
  24 |
  25 |
  26 | 90307
(End)
		

Crossrefs

Programs

  • Magma
    [#[j:j in [0..n]| Binomial(n,Floor(n/2)) mod Binomial(n,j) eq 0]:n in [0..100]]; // Marius A. Burtea, Sep 15 2019
  • Mathematica
    Table[Count[Table[IntegerQ[Binomial[n, Floor[n/2]]/Binomial[n, j]], {j, 0, n}], True], {n, 0, 500}] (* adapted by Vincenzo Librandi, Jul 29 2017 *)
  • PARI
    a(n) = my(b=binomial(n, n\2)); sum(i=0, n, (b % binomial(n, i)) == 0); \\ Michel Marcus, Jul 29 2017
    
  • PARI
    a(n) = {if(n==0, return(1)); my(bb = binomial(n, n\2), b = n); res = 2 + !(n%2) + 2 * (n>2 && n%2 == 1); for(i = 2, (n-1)\2, res += 2*(bb%b==0); b *= (n + 1 - i) / i); res} \\ David A. Corneth, Jul 29 2017
    

Extensions

Edited by Dean Hickerson, Mar 14 2003
Offset corrected by David A. Corneth, Jul 29 2017

A067348 Even numbers n such that binomial(n, [n/2]) is divisible by n.

Original entry on oeis.org

2, 12, 30, 56, 84, 90, 132, 154, 182, 220, 252, 280, 306, 312, 340, 374, 380, 408, 418, 420, 440, 456, 462, 476, 532, 552, 598, 616, 624, 630, 644, 650, 660, 690, 756, 828, 840, 858, 870, 880, 884, 900, 918, 920, 936, 952, 966, 986, 992, 1020, 1054, 1102
Offset: 1

Views

Author

Dean Hickerson, Jan 16 2002

Keywords

Comments

This sequence has a surprisingly large overlap with A080385(n); a few values, 2, 420, 920 are exceptional. This means that usually A080383(A067348(n))=7. - Labos Elemer, Mar 17 2003
Conjecture: sequence contains most of 2*A000384(k). Exceptions are k = 8, 18, 20, 23, 35, ... - Ralf Stephan, Mar 15 2004

Crossrefs

Subsequence of A042996.

Programs

  • Mathematica
    Select[Range[2, 1200, 2], Mod[Binomial[ #, #/2], # ]==0&]
  • PARI
    val(n, p) = my(r=0); while(n, r+=n\=p);r
    is(n) = {if(valuation(n, 2) == 0, return(0)); my(f = factor(n)); for(i=1, #f~, if(val(n, f[i, 1]) - 2 * val(n/2, f[i, 1]) - f[i, 2] < 0, return(0))); return(1)} \\ David A. Corneth, Jul 29 2017

Formula

a(n) = 2*A002503(n-2) + 2.
Appears to be 2*A058008(n). - Benoit Cloitre, Mar 21 2003

Extensions

Name clarified by Peter Luschny, Aug 04 2017

A067315 Numbers k such that binomial(k, floor(k/2)) is not divisible by k.

Original entry on oeis.org

4, 6, 8, 10, 14, 16, 18, 20, 22, 24, 26, 28, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 86, 88, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 134, 136, 138, 140
Offset: 1

Views

Author

Labos Elemer, Jan 14 2002

Keywords

Comments

All the terms are even. - Amiram Eldar, Aug 24 2024

Crossrefs

Cf. A001405, A042970, A042996 (complement), A067348.

Programs

  • Mathematica
    Select[ Range[ 2, 150, 2 ], Mod[ Binomial[ #, #/2 ], # ]>0& ]
  • PARI
    is(k) = binomial(k, k\2) % k > 0; \\ Amiram Eldar, Aug 24 2024
Showing 1-3 of 3 results.