A137905 Numbers that appear as binomial coefficients exactly twice.
3, 4, 5, 7, 8, 9, 11, 12, 13, 14, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33, 34, 37, 38, 39, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 82, 83, 85, 86, 87, 88
Offset: 1
Examples
7 is a member because 7 = binomial(7, 1) = binomial(7, 6) and no other binomial coefficient equals 7. [clarified by _Jonathan Sondow_, Jan 12 2018]
Programs
-
PARI
isok(n) = (sum(i=0, n, sum(j=0, i, binomial(i,j)==n)) == 2) \\ Michel Marcus, Jun 16 2013
Formula
a(n) = A185024(n+1). - Elijah Beregovsky, May 14 2019
Comments