Ǥ⡢ȤʤäƤȤ⤢ޤޤ굤ˤʤޤǤ
轵˴ؤƸȡ5:2ä򤤤ͤפޤ
ԡ 115ڡ 0:14:30 49719

轵2̤˰³1̴򤷤
äפ֤1̴򤷤
ԡ 115ڡ 0:15:20 49720

Ʊƻϩ2ܤξ
2ܤϡ24C212̤ꡣ
Τ줾ǡ8C52432̤ꡣ
24ϡȤʤƻ4̤ߤ줾6̤
1232384̤ꡣ

㤦ƻϩ1ܤĤξ
2ܤϡ4416̤ꡣ
Τ줾ǡ9C53690̤ꡣ
36ϡȤʤƻ6̤ߤ줾6̤
16901440̤ꡣ

38414401824
ԡ 115ڡ 0:18:58 49721
鯤ο
49721ƱˡǤ
Ʊƻϩ2ܤξ ȤƤΤ˵ŤΤ˻֤ޤ

ͤ륿פϡФޤ͡
115ڡ 0:22:15 49722
٥륯åĥ
2ܤƻIJξ
ƻ4416
Ĥä33ǡ
Ƥ֤98764321ˡ126
ܤƻ֤6636
16ߡ126-36ˡ1440̤ꡣ
2ܤƻʿԤʾ
ƻ432212
Ĥä24Ĺ֤32
1232384̤
ä1440+3841824̤ꡣ
ʿԤʾ˼ǰƤƻ֤äƤޤޤ
115ڡ 0:31:25 49723
algebra
(8C56C54)12384{93(33332)3}161440
äơ38414401824(̤)
115ڡ 0:32:53 49724
Ȥ


abcd
efgh
ijkl
mnop

ȤƤ̤ߤ֤Ȥ1Ȥ
Basic

for a=0 to 1
for b=0 to 1
for c=0 to 1
for d=0 to 1
for e=0 to 1
for f=0 to 1
for g=0 to 1
for h=0 to 1
for i=0 to 1
for j=0 to 1
for k=0 to 1
for l=0 to 1
for m=0 to 1
for n=0 to 1
for o=0 to 1
for p=0 to 1
if a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p<>5 then goto 10
if a+b+c+d=0 and e+f+g+h=0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s1=s1+1
if a+b+c+d=0 and e+f+g+h<>0 and i+j+k+l=0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s2=s2+1
if a+b+c+d=0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p=0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s3=s3+1
if a+b+c+d=0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m=0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s4=s4+1
if a+b+c+d=0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n=0 and c+g+k+o<>0 and d+h+l+p<>0 then let s5=s5+1
if a+b+c+d=0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o=0 and d+h+l+p<>0 then let s6=s6+1
if a+b+c+d=0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p=0 then let s7=s7+1
if a+b+c+d<>0 and e+f+g+h=0 and i+j+k+l=0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s8=s8+1
if a+b+c+d<>0 and e+f+g+h=0 and i+j+k+l<>0 and m+n+o+p=0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s9=s9+1
if a+b+c+d<>0 and e+f+g+h=0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m=0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s10=s10+1
if a+b+c+d<>0 and e+f+g+h=0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n=0 and c+g+k+o<>0 and d+h+l+p<>0 then let s11=s11+1
if a+b+c+d<>0 and e+f+g+h=0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o=0 and d+h+l+p<>0 then let s12=s12+1
if a+b+c+d<>0 and e+f+g+h=0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p=0 then let s13=s13+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l=0 and m+n+o+p=0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s14=s14+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l=0 and m+n+o+p<>0 and a+e+i+m=0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s15=s15+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l=0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n=0 and c+g+k+o<>0 and d+h+l+p<>0 then let s16=s16+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l=0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o=0 and d+h+l+p<>0 then let s17=s17+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l=0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p=0 then let s18=s18+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p=0 and a+e+i+m=0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p<>0 then let s19=s19+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p=0 and a+e+i+m<>0 and b+f+j+n=0 and c+g+k+o<>0 and d+h+l+p<>0 then let s20=s20+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p=0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o=0 and d+h+l+p<>0 then let s21=s21+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p=0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p=0 then let s22=s22+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m=0 and b+f+j+n=0 and c+g+k+o<>0 and d+h+l+p<>0 then let s23=s23+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m=0 and b+f+j+n<>0 and c+g+k+o=0 and d+h+l+p<>0 then let s24=s24+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m=0 and b+f+j+n<>0 and c+g+k+o<>0 and d+h+l+p=0 then let s25=s25+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n=0 and c+g+k+o=0 and d+h+l+p<>0 then let s26=s26+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n=0 and c+g+k+o<>0 and d+h+l+p=0 then let s27=s27+1
if a+b+c+d<>0 and e+f+g+h<>0 and i+j+k+l<>0 and m+n+o+p<>0 and a+e+i+m<>0 and b+f+j+n<>0 and c+g+k+o=0 and d+h+l+p=0 then let s28=s28+1
10 next p
20 next o
30 next n
40 next m
50 next l
60 next k
70 next j
80 next i
90 next h
100 next g
110 next f
120 next e
130 next d
140 next c
150 next b
160 next a
print s1;"+";s2;"+";s3;"+";s4;"+";s5;"+";s6;"+";s7;"+";s8;"+";s9;"+";s10;"+";s11;"+";s12;"+";s13;"+";s14;"+";s15;"+";s16;"+";s17;"+";s18;"+";s19;"+";s20;"+";s21;"+";s22;"+";s23;"+";s24;"+";s25;"+";s26;"+";s27;"+";s28;"=";s1+s2+s3+s4+s5+s6+s7+s8+s9+s10+s11+s12+s13+s14+s15+s16+s17+s18+s19+s20+s21+s22+s23+s24+s25+s26+s27+s28
end

f9

32+32+32+90+90+90+90+32+32+90+90+90+90+32+90+90+90+90+90+90+90+90+32+32+32+32+32+32=1824()
˭ԡ 115ڡ 0:42:36 MAIL:fttnm528@ybb.ne.jp 49725
Mr.ǥ
졼Ρ#49721Ʊͤˤʤޤ
8C52432̤
ʬΡ-24򤹤뤳Ȥˡդ֤֥򤷤Ƥޤޤ
115ڡ 0:50:09 49726
ߤ
#49721ˤƱʤΤǡ٤ȤϾάǡ

̤ߤĤ֤Ƥʤ̤꤬
ʤ˽ģܤʤ
ʤ˽IJܤ
Σѥ󤬤ꡢʤˤ̤ꡢʤˤ̤ꡣ
115ڡ 1:00:03 49727
ǯ
ǽϡƻϩȤ߹碌ơ
ˤϡ5ĤΤ̤ߤ̵Ƿ׻
Ǹˤϡ4C2=12ʤƥХʷ׻˵դˡ֤
ˡϡ#49721ƱǤ
IJ1ܤġ4C1*4C1*(9C5-2*3C1*6C5)=1440
2ܤ2ܡ2*4C2*(8C5-4C1*6C5)=384
פơ1824

115ڡ 1:21:51 49728
ߤ
ʤȤ顩ˤǤϡȤʤ뤳ȤNG#49718
ü첽ƤȤꤢͤФפȤΤɤʤ饢꤫ȡ
ˡ׵᤹ȡֿͤ˴طʤΩͳʾˡפ
񤫤ʤȤĤʤȻפޤ

ˡֱ߼ΨϣȤפȤ郎񤫤Ƥʤ
Ū˻ȤʤΤޤ͡ɤɬפʤΤʤ顢ֱ߼Ψ
פȤΤ򸫤ƤߤǤΰ׻ȡ
׻ְ㤨Ȥʡ
115ڡ 1:22:44 49729
(Keigei)
֤̤ߤĤ֤Ƥʤƻϩܤפϡ
ܤޤΤɤʸʬޤǤ
115ڡ 5:01:18 49730
ֿء׾ι
Ĥޤϲ2ܶ褦ʾ˺ƣȡ
331ܤƤޤΤ˺ƣȡ
56-24ᣱȤƣȡ󥸡äƤޤ
115ڡ 7:12:22 49731
̴
ͤƱǡ̤ߤ֤ʤƻϩ
ܤˤʤäƤޤ礬뤳Ȥ桹
Ť򣲲äƤޤ
֤ФвᤷƤޤޤ
ˤƤޥͤκϤҤͤ
ɻҤƤ餷Ǥ͡
ٻΤ桡 115ڡ 9:32:35 49732

Ʊ׻ˡǤ
115ڡ 10:35:38 49733
Ȼ
ܤ硢ǤϤʤΤǣܤޤȻפΤǤ
115ڡ 12:41:08 49734
ޥ
ߤޤ󡢹̴ˤ˫θդ򤤤ľʤΤ˸Ť餤ΤǤϡءδݥѥǤǺäƤȤ23:00̿ŪʥߥĤȤ۵޻֤ȯ...ߤޤ
Mac 115ڡ 12:59:15 HomePage:49735
ޥ
ܤޤࡢΤˤ̤Ǥۤɡޤm(__)m

Ǥ򤪤ޤǤ(Keigei)󡢤Ȼ
Mac 115ڡ 13:00:29 HomePage:49736
⡼ޥ
äȤ...^^;
2*c(4,2)*4*2^3+(c(4,1))^2*(c(9,5)-2*3*c(6,1))
=1824

ǽ顢ñ˹ͤƤޤ ^^;;
̤ߤμޤǤ϶̤ʤƤΤǤ ^^

3ܤ...ޤäͤޤǤ...^^;;
115ڡ 13:41:28 49737

ƱǤ
115ڡ 18:20:54 49738
ˤ⡼ʡء˥Υ
ɤǸ褦Ȼפä顢
ǯʸϤο裲ʣˤǤ͡
ʬݤäݤޤ
¡ 115ڡ 20:33:04 49739
ˤ
ʿԤ2Ĥȸ򺹤2ĤǾʬޤ
Ķļˡ 115ڡ 21:23:39 49740
٥륯åĥ
Τˡ2ܤפȣܤǤOKˤʤäƤޤޤ͡
ʸɲäơ2ܤǤפȤФ褵Ǥ
115ڡ 21:55:31 49741
ɥȥ
Τ!3ܤǤޥˤʤä㤤ޤ͡
񤷤4Ƥޤޤ(IJ̤Ƥʤߥ4C33ˤʤäƤߥ)
116ʶ 7:23:47 49742
M
ޤpython϶ȤDzޤ

import random
import numpy as np
final_ans=[]
for n in range (100000):
x=[0,1,2,3]
y=[0,1,2,3]
list =[]
t_list=[]
a=[]
b=[]
for i in range (5):
xi = random.choice(x)
yi = random.choice(y)
p = (xi,yi)
list.append(p)
t_list = set(list)
if (len(t_list))!=5:
for i in range (5-len(t_list)):
xi = random.choice(x)
yi = random.choice(y)
p = (xi,yi)
list.append(p)
t_list = set(list)
if (len(t_list))!=5:
for i in range (5-len(t_list)):
xi = random.choice(x)
yi = random.choice(y)
p = (xi,yi)
list.append(p)
t_list = set(list)
if (len(t_list))!=5:
for i in range (5-len(t_list)):
xi = random.choice(x)
yi = random.choice(y)
p = (xi,yi)
list.append(p)
t_list = set(list)

a = [x[0] for x in t_list]
b = [x[1] for x in t_list]
x_a = set(a) & set(x)
y_a = set(b) & set (y)

if (len(x_a)+len(y_a)) == 6 and (len(t_list)) ==5:
final_ans.append(t_list)

def get_unique_list(seq):
seen = []
return [x for x in seq if x not in seen and not seen.append(x)]
print(len(get_unique_list(final_ans)))
117ڡ 22:30:29 49743
M
GithubǤΥɥ쥹
https://colab.research.google.com/gist/naritatsu/c7aed37584d254d7a37c3f2c38fbf710/math_challenge_1150.ipynb
Ȥʤޤ
117ڡ 22:40:01 49744
ޤ
ϥʡġƤޤ v(^^
somewhere in the world 118 7:07:00 49745

о򤦤ޤѤǤʤ񤷤Ǥ
119ʷ 0:02:09 49746
ֿء׾ι
p [0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1].permutation.uniq.to_a.delete_if{|x|s=0;for i in [0,1,2,3] do;s+=x[i]*x[i+4]*x[i+8]*x[i+12]+x[4*i]*x[4*i+1]*x[4*i+2]*x[4*i+3] end;s!=2}.size
ȼ¹ԤнФȻפΤǤ16!νǡǤϤĴλ뤫
ǡκǡʹͤηäߤƤ뤳Ȥˤޤ

#ĤΤߤޤϲΤߤ2ܤƻƤȤƻϡC2ߣ=ǡ¾ƻʤοϡ
a= [0,0,0,0,0,1,1,1].permutation.uniq.to_a.delete_if{|x|s=0;for i in [0,1,2,3] do; s+=x[i]*x[i+4] end; s==1}.size

#1ܲ1ܤƻƤȤƻϡߣᣱǡ¾ƻʤοϡ
b= [0,0,0,0,0,1,1,1,1].permutation.uniq.to_a.delete_if{|x|s=0;for i in [0,1,2] do;s+=x[i]*x[i+3]*x[i+6]+x[3*i]*x[3*i+1]*x[3*i+2] end;s==1}.size

#äơ
p 12*a+16*b

ʤ顢ֻʤΤǤʡءˡ
119ʷ 6:52:09 49747
X
̵Ƥޤפ֤οؤäΤǷ׻ְ㤤㤤ޤޤޤ
119ʷ 9:10:46 49748
X
񤭹ߤΤĤǤ˻ΤĤʤإ֥ⲼLINKƤޤؿؤ⹻ؤǡ狼䤹ޤ˹ƤޤǯǤȥʤKͤá

https://mizterx.muragon.com/entry/8.html
119ʷ 11:12:17 49749
ޤ륱
RubyΥ饤ʡ
16Ĥθ5Ĥӡ̤̤ᡢ줾첿ढ뤫6ΤΤοץȤޤ
p (0..15).to_a.combination(5).map{|a|a.map{|c|[c/4,c%4]}.transpose.map{|t|t.uniq.size}.inject(:+)}.count 6
119ʷ 11:24:30 49750
ֿء׾ι
#49750
꤬뤫ٶƤ餤ޤ
1110ʲС 6:56:48 49751
ֿء׾ι
#49750
ֹǡĤȲƻǤȤȤ˹ͤޤǤʤۤɤǤޤʡˡ

ʤ顢𤱤ʤΤǤƤΡȤȤǡûĩǤtaransuposeinjectʤΤǡʤơ
p (0..15).to_a.combination(5).map{|a|a.map{|c|c/4}.uniq.size+a.map{|c|c%4}.uniq.size}.count 6
ȤƤߤޤ
1110ʲС 7:55:38 49752
ޤ륱
#49752
áμ꤬ä
1110ʲС 11:44:00 49753
ޤ륱
ʾĥäƤʤȤ狼ĤġûȤͤʤĩ

uniq.size ǺѤޤԤ礵Ƥ uniq.size ޤ
4dzä4­ơȹԤȤǰۤʤͤˤʤ褦ˤƤߤޤ
p (0..15).to_a.combination(5).map{|a|(a.map{|c|c/4+4}+a.map{|c|c%4}).uniq.size}.count 6

׻̤4­ΤǤϤʤο˲̤ϤƤߤޤ
p (16..31).to_a.combination(5).map{|a|(a.map{|c|c/4}+a.map{|c|c%4}).uniq.size}.count 6

Ǹ塢a.map{|c|...} 󼡸ˤƤflattenʿ경
p (16..31).to_a.combination(5).map{|a|a.map{|c|[c/4,c%4]}.flatten.uniq.size}.count 6

դ
1110ʲС 12:32:51 49754
ֿء׾ι
ο˲̤ϤȤȯۤǹ⡪!
flatten ϽƸޤʤΤǤȤϡ
ڤޤƤޤ꤬Ȥޤ
ޤٶƤޤ
1110ʲС 15:01:47 49755
ޤ
ץäĤƤޤ󤬡־Ǯ()򴶤ޤ

ġ֤פȽ񤳤ȤΤǤѤʤǤ͡
https://iwatam-server.sakura.ne.jp/column/103/index.html
somewhere in the world 1111ʿ 0:54:45 49756

äȡ٤ߤȵŤԤƤޤä
ԡ 1112ڡ 0:00:44 49757
ɥȥ
0:00路褦ȻפäƤΥȺɤ߹ߤ11/12()٤ߡ
ͤ򵯤²饯졼ޤ(T_T)(ޤǤˤϤΤ餻Ƥ餤ȤΤܲ)
轵&#8252;
1112ڡ 7:16:15 49758
ɥȥ
ʸƤޤä
ʬϤӤäޡ2ĤǤ
1112ڡ 7:18:14 49759

ץDz򤯤ʤ鲿ͤbitõʤ
1113ʶ 15:56:34 49760