Fichier 248.jps — Modifié le 2 Septembre 2006 à 22 h 04
%% auteur :
%% gh
%% Triangle de Pascal
%% échelle et étendue de l'image
60 setxunit
-.5 7.5 setxrange
-.5 7.5 setyrange
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% définitions des couleurs
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
/coul0 {0 0 0 0.5 setcmykcolor} def %gris
/coul1 {noir} def
/coul2 {orange} def
/coul3 {rouge} def
/coul4 {bleu} def
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% les cadres de tableau
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
coul1
[0 0 0 7 7 7] (-) ligne
[1 0 1 7] (-) ligne
[0 6 7 6] (-) ligne
[0 7 1 6] (-) ligne
% les hachures
coul2
/fillstyle {/hangle hangle 90 add store hachure} def
0 setlinewidth
[1.5 6 6.5 1 6.5 6] polygone*
% le cadre
coul3
1.5 setlinewidth
[2 2 4 2 4 0 3 0 3 1 2 1 2 2] (-) ligne
<latex>
$+$
</latex>
3 1.5 [2.5 dup] cctexlabel
<latex>
$\shortparallel$
</latex>
3.5 1 [2.5 dup] cctexlabel
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% les indices
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
coul1
<latex>
$k$
</latex>
.5 6.5 [2.5 dup] urtexlabel
<latex>
$n$
</latex>
.5 6.5 [2.5 dup] dltexlabel
% les valeurs de k
<latex>
$0$
</latex>
1.5 6.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
2.5 6.5 [2.5 dup] cctexlabel
<latex>
$2$
</latex>
3.5 6.5 [2.5 dup] cctexlabel
<latex>
$3$
</latex>
4.5 6.5 [2.5 dup] cctexlabel
<latex>
$4$
</latex>
5.5 6.5 [2.5 dup] cctexlabel
<latex>
$5$
</latex>
6.5 6.5 [2.5 dup] cctexlabel
% les valeurs de n
<latex>
$0$
</latex>
0.5 5.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
0.5 4.5 [2.5 dup] cctexlabel
<latex>
$2$
</latex>
0.5 3.5 [2.5 dup] cctexlabel
<latex>
$3$
</latex>
0.5 2.5 [2.5 dup] cctexlabel
<latex>
$4$
</latex>
0.5 1.5 [2.5 dup] cctexlabel
<latex>
$5$
</latex>
0.5 .5 [2.5 dup] cctexlabel
% les valeurs de {n \choose k}
<latex>
$1$
</latex>
1.5 5.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
1.5 4.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
1.5 3.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
1.5 2.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
1.5 1.5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
1.5 .5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
2.5 4.5 [2.5 dup] cctexlabel
<latex>
$2$
</latex>
2.5 3.5 [2.5 dup] cctexlabel
<latex>
$3$
</latex>
2.5 2.5 [2.5 dup] cctexlabel
<latex>
$4$
</latex>
2.5 1.5 [2.5 dup] cctexlabel
<latex>
$5$
</latex>
2.5 .5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
3.5 3.5 [2.5 dup] cctexlabel
<latex>
$3$
</latex>
3.5 2.5 [2.5 dup] cctexlabel
<latex>
$6$
</latex>
3.5 1.5 [2.5 dup] cctexlabel
<latex>
$10$
</latex>
3.5 .5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
4.5 2.5 [2.5 dup] cctexlabel
<latex>
$4$
</latex>
4.5 1.5 [2.5 dup] cctexlabel
<latex>
$10$
</latex>
4.5 .5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
5.5 1.5 [2.5 dup] cctexlabel
<latex>
$5$
</latex>
5.5 .5 [2.5 dup] cctexlabel
<latex>
$1$
</latex>
6.5 .5 [2.5 dup] cctexlabel