ޥ
ԤޤФ԰¤Ǥ...orz
107ڡ 0:22:49 36870
㡼ߡ
ȡϳƷ¤ؤ̵뤷Ƥޤ󤫡
(123 132 Ʊ뤷Ƥ)
ؤؤοء١ 107ڡ 0:43:39 MAIL:xlogx-x@eco.ocn.ne.jp 36871
㡼ߡ
ȡ4 ¤ؤΤΤƱȸʤΤɤ
ؤؤοء١ 107ڡ 0:44:17 MAIL:xlogx-x@eco.ocn.ne.jp 36872
ޥ
ޤä꽤κݤˡȤƤޤޤ...ϡä6^4ȤȤˤʤޤ͡ʣ¤٤ΤΤϡƱΤȸʤȤȤˤޤ
107ڡ 0:52:53 36873
㡼ߡ
ǤȻפޤ
ؤؤοء١ 107ڡ 0:53:39 MAIL:xlogx-x@eco.ocn.ne.jp 36874
ޥ
οͤȡʸս񤭤ɮޤ

ɽϡˤ⣱̤Ѥ餺̤ä㡼ߡ󤬣̤ˤʤȤѲä褦ǤѿޤǤm(__)m
107ڡ 1:06:45 36875
ޥ
ꡢǽϡ֣̤ͤͤν̤ˤĤơʻҤ򣳿ͤĸ礦̩βҤ餭ޤפȤäΤǤͤ礭Τ24dz褦ˡȻפäѹäΤǽ˸ֻʬΤʤǤΤȤˡֿ¤ؤפ˵դʤäᡢǽ⤺ä礭ʿͤˤʤäƤޤޤ...ѿޤǤm(__)m
107ڡ 1:08:57 36876
Taro
ץ񤤤Το֤ϤꤽǤ
2ꤷȤΤߥץǿޤ

2Ĥο123145ΤȤ4νʤ7704̤
1Ĥο9P3504̤ꡤ2ܤο36C26270̤
νʤΤ77045042704!43681680̤
107ڡ 1:33:23 36878

äޤ
ΡȣڡȤäƷ׻ʤȾʬʾϴְ㤤˵Ťޤ

Σѥʬޤ
ˡĤο٤Ƥ˶̤οޤ硡1224720̤
ˡĤο˶̤οޤ硡9797760̤
ˡ123145246356Τ褦ȡ32659200̤
43681680̤


ˤ{(8*7*6*5*4*3*2*1)*(3*3*3*3)}/24
ˤ{(8*7*6*5*4*3)*(2*2*2)*(3*3*3*6)}/24
ˤ(84+56+35+20+10+4+1)*120*(6*6*6*6)Ϻǿ夲

ȣФ򤫤ʤ񤷤Τǿޤ
ޡ 107ڡ 3:09:00 HomePage:36879
doba
̵ŤʾС
ɴΰ̡佽ΰ̡ΰ̡Ȥ󤬤Фޤ褫äǤ͡
ʤߤˡĤΰۤʤ룱ο줾죲ĤĤΣο˶ͭѥϡ
ĤΣοΤդ֤ơĺˣοǤȹͤС̤褯ʤȻפޤ
107ڡ 6:38:53 36880
doba
ɵǼޤäƥդǤ(^^;
107ڡ 6:39:46 36881
kasama
褯狼ޤǤʤΤǡñʥץ񤤤Фޤ
ޤο礭˥ӥå(ޢ;)
ҡ 107ڡ 8:17:43 36882
abc
Ϥ亣϶ϫޤ餤ƱĤΥѥ˾ʬޤ٤ְ㤨ޤξϡΤ褦ˤʤޤ
ˡĤο٤Ƥ˶̤οޤ碪1224720̤
ˡĤο˶̤οޤ硡39191040̤
ˡ123145246356Τ褦ȡ3265920̤
43681680̤ꡡ
107ڡ 9:29:26 36883
abcba@jugglermoka
¤ϤƳΤˤϤʤ˻֤ݤʤäΤǤˤʤ礭ʿϤꤨʤȻפ1ְʾͤľƤΤǤʳꤨʤäΤDzȯǤ

ɿ
43Ȣ104509440̤
42Ȣ2903040̤
52Ȣ9072000̤
6ʾ0̤

107ڡ 10:31:03 36884
algebra
(105+30240+2520)6^4=337051296=43681680
107ڡ 11:57:26 36885
algebra

(945+30240+2520)6^4=337051296=43681680
107ڡ 12:05:43 36886

֤ͤΤˡǽΣܤ˺ƺˤʤäƤޤޤ
꤬Ȥ˽ФƤФǤޤ...
100󤯤餤Ǥ뤫...
107ڡ 14:12:03 36887

ĿͥǡϿƤߤޤ
Ƥ롦ʡ
107ڡ 16:42:16 36888
uchinyan
äȤǤ͡ܤ뤫Ȼפäorz
ޤŻʤΤǡʤɤϡ¿ʬ˻ڤľƽ񤭤ޤ
ͥνȡ 107ڡ 18:16:17 MAIL:uchi@sco.bekkoame.ne.jp 36889
ͣ.ǥ
ϤǧڤƤȡ43681680ܤˤ褦䤯ޤ
褯ϤΤǤ͡ʾС
¤ΤȤϡ׻򤷤Ƥ뤦ˡ3ĤΣȤĤƤȺ
ơοǤ뤳Ȥ˺ƤޤĤޤǤ⡡33705ǤϤʤΤǺ
Ǥޤ#36873 ̤ĤʤȤäơΤȻפäƤΤ
ޥ뤵Ʊ褦ʥߥ򤵤Ƥ줿ΤǤ͡

ˡϡ3Ĥ4ȤĤȤ
{,a,b} {,c,d} {,e,f} {,g,h}ס9*(82*62*42*22)/4!=945̤
{,a,b} {,c,d} {,e,f} {a,c,e}ס9*(82*62*42)/3!*2^3=30240̤
{,b,c} {,d,e} {b,d,f} {c,e,f}ס96*(5C2*3C2)/2!*2=2520̤
Ǥ¤ؤϡ3!̤
äơ945302402520*(3!)^443681680̤ˡȵޤ

ʤ޷³Ϣ³ڤ줽ǤʤȤʤ ǥǥ

108ʶ 8:23:26 36890
CRYING DOLPHIN
񤷤ˤ䤳
ϴ˥Υ٥ۤƤޤä(

ˣĤοƤ˶̤οޤࡡ(9!/4!)*(3^4)1224720
ˣĤοˤ̤οޤࡡ(9*8*7*6*5*4*3)*(6^3)39191040
ˤɤΣĤοⶦ̤οޤޤ{(9*8*7*6*5*4)/24}*(6^4)3265920

43681680̤Ȥʤޤ嵭μˤϼޤ(
ˡABCADE(AE15)פ(5!/2!)*(3^2)ǵ줿Ȥ
ˤϤɤäƵ᤿˺ޤʤ
ˤ16ΤȤ{(6*5*4*3*2*1)/24}*(6^4)ǵ餷Ȥ

ˤΥפ(ġͽ)Τ˴ݰ(̩ˤ23)ޤ
ǥä顢1000ʾ6480ܿ⤷褦(

ï⤤ʤԳϡ 108ʶ 0:45:58 HomePage:ƻ36891
(Keigei)
֤äƻפʹʤ褦Ǥ
Ȥǡޤࣳοȡ100049040̤ˤʤޤ˼Ϥޤġġ
108ʶ 6:00:57 36892
kasama
#36892
ץˤ餻ƤߤޤäƤȻפޤ
ҡ 108ʶ 9:29:36 36893
ʤ
>#36892 (Keigei)

ޤϡ⤦ʤʤޤ󤫡
η׻Ǥϡʤޤ

ᡡߡᡡ
ᡡߡᡡ ,
ᡡߡᡡ,,
ᡡߡᡡ,,
ᡡߡᡡ,,
ᣱߡᡡ,,
ᣱߡᡡ,,
ᣱߡᡡ,,

ʤᡡȤϣޤޤʤΣʿ
ᣱȤϣޤޤʤΣʿʣ¡á
Ȥ褦ʰ̣Ǥ
108ʶ 11:44:25 36894
ʤ
䲼ε

ᣱʹߴְ㤨ޤޤ

ᣱߡᡡ
ᣱߡᡡ
ᣱߡᡡ

顢ʿξ̥褱ȡɤοˤʤȻפޤ
餷ޤ
108ʶ 13:32:16 36895
uchinyan
Ϥˤϡơϡ
񤤤褦˶ϫޤ
ĤΤ褦ī򸫤ơī򿩤٤Żν򤷤ʤƬǹͤФΤǤ
ɤΤˤʤꤽǰŻǤϤǤˤʤŻι֤˲򤯻ˤѤޤ
Ȥ˸¤äΩƹǤơͤ㤤ŤʤäͼޤǤäƤޤޤ
äĹʤ궲̤Ǥʲˡ񤭹Ǥβˡ򼨤ޤ
a i ϡͤĤογƷοɽޤ

(ˡ1)
ޤϡͤĤον֤ͤơ 4! dzޤ
ŪʹͤȤƤϡƱޤ 4 Ĥ롤3 Ĥ롤2 ĤĤξʬƹͤޤ
(1) Ʊޤ 4 Ĥ硡{a,b,c}{a,d,e}{a,f,g}{a,h,i} Υѥ
a ƿΤɤη뤫 3^4 ̤ꡤa i 9 Ĥ 1 9 ο¤٤Τ 9! ̤ꡤʤΤǡ
3^4 * 9! ̤ꡤǤ
(2) Ʊޤ 3 Ĥ硡{a,b,c}{a,d,e}{a,f,g}{b,d,f} Υѥ
a 4 ̤ꡤa ƿΤɤη뤫 3^3 ̤ꡤa g 7 Ĥ 1 9 ο¤٤Τ 9P7 ̤ꡤ
{b,d,f} ˡb cd ef g 2^3 ̤ꡤ{b,d,f} η¤ؤ 3! ̤ꡤʤΤǡ
4 * 3^3 * 9P7 * 2^3 * 3! = 4 *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˺ 4! dzäƤޤޤ
ʤΤ(ˡ2)ͤơ(ˡ1)(2)κǽ 4 ̤˵դ麣٤(3) 6 dzΤ˺줿ꡤ
ĤβˡӤʤ˶ŤƹԤäȤΤľʤȤǤ (^^;
ͥνȡ 108ʶ 14:19:09 MAIL:uchi@sco.bekkoame.ne.jp 36897
uchinyan
ǼĤɤߤޤ
ơޤᡤϫʤ줿¿ä褦Ǥ͡
ˡϡܺ٤ʬʤΡץˤΡʤɤ⤢褦Ǥ䤬ʬϰϤǤϡ׻ιפС
ͤĤο٤ƤƱ硤ĤοƱ硤ƱοĤĤξ硤
˾ʬΤήΤ褦Ǥ

ʤ䤷硤0 ޤʤɤ⤢褦Ǥ
ƤޤäΤǡˤäƤ뵤ˤʤäͤƤߤޤ (^^;
ͥνȡ 108ʶ 14:22:34 MAIL:uchi@sco.bekkoame.ne.jp 36898

Ȥȯޤ

(1)4ƤƱ
9ĤοΤ8Ĥ¤٤롣9P8
8Ĥο֤2ĤĤ˶ڤꡢĤä1Ĥο򤽤줾δ֤롣3^4
ʣƤΤ4!dz롣
äơ9P8 * 3^4 * 1/4!

(2)3ĤƱ
9ĤοΤ6Ĥ¤٤롣9P6
6Ĥο֤2ĤĤ˶ڤꡢĤä3Ĥο1Ĥ򤽤줾δ֤롣3 * 3^3
ʣƤΤ3!dz롣
2ĤĤˤȤ餽줾1Ĥ¤٤롣2^3 * 6
äơ9P6 * 3 * 3^3 * 1/3! * 2^3 * 6

(3)Ʊ2ĤĤΤߤξ
9ĤοΤ6Ĥ¤٤롣9P6
6Ĥο֤3ġ2ġ1Ĥʬ롣
3Ȥο1ӡ2Ȥοδ֤롣3 * 3
3Ȥοۤʳ1ġ2Ȥο11Ȥοδ֤롣2 * 2 * 6
3ȡ2ȡ1Ȥ椫ޤФƤʤФ¤٤롣1 * 1 * 1 * 6
ʣƤΤ4!dz롣
äơ9P6 * 3 * 3 * 2 * 2 * 6 * 1 * 1 * 1 * 6 * 1/4!

ʾ­
9P5 * (3^4 + 2 * 6^4 + 6^3)
= 15120 * 2889
= 43681680

1011ʷ 14:09:19 36899
ѥ&10ﶥ
#36892,#36893
ƱͤޤץǤ
ǽοɴ̤ΰ̤1פȸꤷ餻266,797,440ޤ
266797440*9/24100049040:200

֤βˡǤ⡢Ǥɤߤϥ֥åפץäȤǤ줿֤ǤϺǽοͤ123פȸꤷޤ
#36878˵ҤƤ褦2ĤοꤹˡǤ⸡Ԥޤˤֻɽޤ

#36895 >顢ʿξ̥褱ȡ151048800 100049040ïǤǤ뤳ȤǤ?Ȥ¤ʬäƤ
ʤʬǤ?

108ʶ 16:02:56 HomePage:ѥ&10ﶥ36900
ʤ
#36900

>ïǤǤ뤳ȤǤ?
ɤkasama Τͤ׻ƤޤΤǡ
ʤȻפޤ
⤳줫ΤƤߤޤ
108ʶ 17:07:20 36901

μȤޤ뤴Ȥơ50ʬ˲򤭤ޤ
ѥǤ줾äƴǤ
ܿĻԡ 108ʶ 18:45:42 MAIL:dice-konyx.ocn.ne.jp HomePage:36902
ץ
[1] 룱Ĥ̤򣴤Ĥ̤ˤĤȤϡĤ٤ƻȤ
Ĥο򣲤ĤģĤȤʬ뤫
9*8C2*6C2*4C2*2C2/(4!)*(3!)^4=1224720

[2] Ĥ룱Ŀ̤ˤĤȤϡĻȤ
޷Ūˤϡ礭ѷ˾ʻѷ
ΤĤ֤ʿ̤ޤͤ롣
9C7*7*6C3*3!*(3!)^4=39191040

[3] ĤȤ硣
ΤΣĤդ˰ۤʤ룶Ĥο񤭹ˡ
ͤΰ֤ˤȤΰꤷ߽Ȥ
9C6*5*(4-1)!*(3!)^4=3265920

1224720 + 39191040 + 3265920=43681680

108ʶ 20:30:12 36903
ѥ&10ﶥ
#36901
ҤȤĤοȤߤʤȤη׻͡ʤ001ס012פĤȤȤͤ
ʤƱ(n=10,11,12)Τޤʤߤ(n=13)Ǥ
2,810,499,120

쥬ȤʲˡϪƤ褦ǤʬˤԽʬǤη̤ϥץˤϤŤǤ
108ʶ 20:49:07 HomePage:ѥ&10ﶥ36904
uchinyan
٤Фʤ龯;͵ǤΤǡ 0 ޤ໰ο줿
#36897(ˡ2)ɲä봶ǤäƤߤޤ

{a,b,c}{a,d,e}{a,f,g}{a,h,i} Υѥ
0 ޤޤʤ硧1224720 ̤ꡤɬɤ 0 ޤ硧6773760 ̤
{a,b,c}{a,d,e}{a,f,g}{b,d,f} Υѥ
0 ޤޤʤ硧39191040 ̤ꡤɬɤ 0 ޤ硧47416320 ̤
{a,b,c}{a,d,e}{b,d,f}{c,e,f} Υѥ
0 ޤޤʤ硧3265920 ̤ꡤɬɤ 0 ޤ硧2177280 ̤

0 ޤޤʤ硧43681680 ̤ꡤɬɤ 0 ޤ硧56367360 ̤ꡤס100049040 ̤

פ(Keigei)kasama󡤥ѥ뤵η̤ȰפƤΤǡ¿ʬפȻפޤ
ͥνȡ 109ڡ 13:50:42 MAIL:uchi:sco.bekkoame.ne.jp 36905
imai
ɬפǤ
109ڡ 14:54:11 36906
ߡ
򹯿ǤΤ50ʬ餤ͤƥ꥿Ǥ
ޤ轵
4368Ĥ50ʬΤϤ褦ʵɤʤ
ʤˤϥߥ
109ڡ 20:43:07 36907
ߥߥϤ
äޤ
ĤξʬϤʬޤȹ礻ǽʣʬΤˡ
4Ȥ˶̤ʿ1/24
3Ȥ˶̤ʿϤΤޤޡ
Ƥ2Ȥ˶̤ʿʻΤդ˿֤ĺȡˤξ1/4
ηǴְ㤨ƤФǤ
1011ʷ 1:29:34 36908
ߥߥϤ
򤱤ΤǡϤäƤޤ

⤦ޤ
ʣ4Ȥ˶̤ʿ硢
ޤ̤ʿ9̤ꡢ
Ĥ8Ĥ2ĤȤʬΤˡ8*7/(1*2) * 6*5/(1*2) * 4*3/(1*2) * (2*1/(1*2)
4ĤȤʣƤΤǡ1/(4*3*2*1)򤫤롣
Ǹ˳Ȥον֤3*2*1̤ꡣ
ʣ3Ȥ˶̤ʿ硢
ޤ3Ȥ˶̤ʿ9̤ꡢ
ˤ3ȶ̤ʿʤȤο8*7*6/(1*2*3)̤ꡢ
3ĤοĤȤˤФޤơȤκǸοˤϡ5*4*3 ̤ꡣ
줾Ȥˡ˷ޤΤǡʣϤʤʡ
Ǹ˳Ȥον֤3*2*1̤
ʣƤ2Ȥ˶̤ʿξ硣
ޤɤ줫Ȥ3Ĥο9*8*7/(1*2*3)̤ꡢ
Ǥ3ĤοȤʤ6*5*4̤ꡢ
ǽȤ4̤ꤢäƽʣΤ1/4򤫤롣ʡ
Ǹ˳Ȥον֤3*2*1̤

ʬǡ٤ְ㤨ޤ
ճʤȤˡ򤱤⡢ʣˤǻΤդ˿֤б뤳ȤʬäǤ
1011ʷ 2:11:28 36909
???
áܡܤǡ
// sc714.cpp
#include <iostream.h>
int onaji(int n);
int onaji1(int n, int m);
void kotae(int x[]);
#define max 100
void main()
{
int n1, n2, n3, n4;
int x[max+1];
int j;
x[0]=1;
for(j=1; j<=max; j++)
{
x[j]=0;
}
for(n1=123; n1<=987-3; n1++)
{
if(onaji(n1)==0)
{
for(n2=n1+1; n2<=987-2; n2++)
{
if(onaji(n2)==0 && onaji1(n1, n2))
{
for(n3=n2+1; n3<=987-1; n3++)
{
if(onaji(n3)==0 && onaji1(n1, n3)*onaji1(n2, n3))
{
for(n4=n3+1; n4<=987; n4++)
{
if(onaji(n4)==0 && onaji1(n1, n4)*onaji1(n2, n4)*onaji1(n3, n4))
{
x[1]++;
kotae(x);
}
}
}
}
}
}
}
}
for(j=x[0]; j>=1; j--)
{
cout << x[j];
}
cout << endl;
}
int onaji(int n)
{
int k1, k2, k3;
k1=n%10;
k2=(n/10)%10;
k3=n/100;
if(k1*k2*k3==0)
{
return 1;
}
else
{
return (k1==k2 || k2==k3 || k3==k1);
}
}
int onaji1(int n, int m)
{
int onj=0;
int a[4], b[4], c[10], d[7];
int j;
a[1]=n%10;
a[2]=(n/10)%10;
a[3]=n/100;
b[1]=m%10;
b[2]=(m/10)%10;
b[3]=m/100;
for(j=0; j<=9; j++)
{
c[j]=0;
}
for(j=1; j<=3; j++)
{
c[a[j]]++;
c[b[j]]++;
}
for(j=0; j<=6; j++)
{
d[j]=0;
}
for(j=0; j<=9; j++)
{
d[c[j]]++;
}
if(d[2]==1)
{
onj=1;
}
j=3;
while(onj && j<=6)
{
if(d[j]>0)
{
onj=0;
}
else
{
j++;
}
}
return onj;
}
void kotae(int x[])
{
int j;
for(j=1; j<=x[0]; j++)
{
if(x[j]>=10)
{
x[j+1]+=x[j]/10;
x[j]%=10;
}
}
if(x[x[0]+1]>0)
{
x[0]++;
}
}
1012ʲС 16:15:43 36910

׻ְ㤨٤äФޤΤᡢäƤΤȲ٤פʤ٤ʤäƤޤޤ
1012ʲС 17:27:29 36911