login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A109903
Let c = composite(n) & p = prime(n); a(n) = binomial( max(c,p), min(c,p) ).
0
6, 20, 56, 36, 11, 13, 680, 3876, 245157, 34597290, 84672315, 12875774670, 244662670200, 800472431850, 14833897694226, 973469712824056, 48402641245296107, 191724747789809255, 9989690752182277136
OFFSET
1,1
COMMENTS
11 and 13 are the only prime terms. For a(7) onwards sequence is monotonically increasing.
EXAMPLE
a(3) = C(8,5) = 56, a(8) = C(19,15) =3876.
MATHEMATICA
Composite[ n_Integer ] := Block[{k = n + PrimePi[ n ] + 1}, While[ k != n + PrimePi[ k ] + 1, k++ ]; k]; f[n_] := Block[{a = Sort[{Composite[n], Prime[n]}]}, Binomial[Last[a], First[a]]]; Table[ f[n], {n, 19}] (* Robert G. Wilson v, Jul 16 2005 *)
CROSSREFS
Sequence in context: A213589 A152959 A328681 * A323640 A249406 A220020
KEYWORD
easy,nonn
AUTHOR
Amarnath Murthy, Jul 14 2005
EXTENSIONS
More terms from Robert G. Wilson v, Jul 16 2005
STATUS
approved