פ
1,9塢ˤ뤳ȤȡξǾʬޤ
Ψ㤹ƲȤƤΤǤϤ԰¤ˤʤޤ
627ڡ 0:16:57 53459
פ
̤˴ְäƤޤ
627ڡ 0:18:00 53460
פ
ְ㤨̶ߥ
627ڡ 0:29:17 53461
פ
ܤ˲򤯤ȡƱԤ˽񤯣ĤοʤΣĤΤߤ
񤭹аб뤿ᡢ9!/(3!)^4=280
627ڡ 0:31:18 53462
٥륯åĥ
ʤȻפä
12312412512612790+60+36+18+6210
13413513613730+18+9+360
1451461476+3+110
280̤ˤʤޤ
ƬȤ¾οͤˤǤޤ
627ڡ 0:55:36 53463
äѥȥ
42ơԤۤȤɽФʤΤְäƤΤȰ¿Ƥ顢ĤΤޤˤ꤬
ɡ93ĥå3ȤʬǤ͡
627ڡ 0:57:46 53464
ǯ

α8C2=28Ȥ
ʤ3Ĥ6C320
ܻܤΤǤ1/2
Τǡ28*20/2280
627ڡ 0:59:48 53465
٥륯åĥ
񤭹ľ˻פĤޤ
ˤĤƤơΤƱǡʳ¤դޤ뤳ȤͤФǤ
987321ˡ654321ˡ321ˡ280
627ڡ 1:00:08 53466

äѤ42Ǥ͡ΰ¿
627ڡ 1:00:16 HomePage:https://twitter.com/monoxxxx53467
٥륯åĥ
42ˤʤޤ
ˤʤ餺٤ǧΤǴְ㤤ʤȻפޤ
627ڡ 1:17:36 53468
å
42ȻפǤޤ
1300ãǤȤ¤ޤ
627ڡ 1:20:37 53469
ֿء׾ι
9ĤΤΤ3ĤĤʬɤȻפޤ
627ڡ 2:28:35 53470
(Keigei)
42Ǥ
夬,ǡ
ϣ,,Τ줫
,ξ12̤ꤺġ
ξ18̤Ǥ뤳Ȥ
ưפʬޤ
627ڡ 7:08:54 53471
ֿء׾ι
def d(a,b,c)if a<b&&b<c then true end end
k=(1..9).to_a.permutation
m2=k.select{|x|d(x[0],x[1],x[2])&&d(x[3],x[4],x[5])&&d(x[6],x[7],x[8])&&d(x[0],x[3],x[6])}
m1=m2.select{|x|d(x[1],x[4],x[7])&&d(x[2],x[5],x[8])}
p m1.count
p m2.count

ηäߤܺƤߤޤ
ϡǡ
ϡǡȤʤޤ
627ڡ 7:35:04 53472
Ȥ
abc
def
ghi
ѿ򿶤ꡡBasic

FOR a=1 to 9
FOR b=1 to 9
if b=a or a>b then goto 80
FOR c=1 to 9
if c=a or c=b or b>c then goto 70
FOR d=1 to 9
if d=a or d=b or d=c then goto 60
FOR e=1 to 9
if e=a or e=b or e=c or e=d or d>e then goto 50
FOR f=1 to 9
if f=a or f=b or f=c or f=d or f=e or e>f or c>f then goto 40
FOR g=1 to 9
if g=a or g=b or g=c or g=d or g=e or g=f then goto 30
FOR h=1 to 9
if h=a or h=b or h=c or h=d or h=e or h=f or h=g or g>h then goto 20
FOR i=1 to 9
if i=a or i=b or i=c or i=d or i=e or i=f or i=g or i=h or h>i or f>i then goto 10
let s=s+1
10 next i
20 next h
30 next g
40 next f
50 next e
60 next d
70 next c
80 next b
90 next a
PRINT s
END

f9ơ280()
˭ԡ 627ڡ 8:09:10 53473
̿
ѥץDz򤤤Ƹޤץϡ
added=[]
for a in range(1,10):
for b in range(1,10):
for c in range(1,10):
for d in range(1,10):
for e in range(1,10):
for f in range(1,10):
for g in range(1,10):
for h in range(1,10):
for i in range(1,10):
if a!=b and a!=c and a!=d and a!=e and a!=f and a!=g and a!=h and a!=i:
if b!=c and b!=d and b!=e and b!=f and b!=g and b!=h and b!=i:
if c!=d and c!=e and c!=f and c!=g and c!=h and c!=i:
if d!=e and d!=f and d!=g and d!=h and d!=i:
if e!=f and e!=g and e!=h and e!=i:
if f!=g and f!=h and f!=i:
if g!=h and g!=i:
if h!=i:
if a<b<c and d<e<f and g<h<i and a<d<g:
added.append([a,b,c,d,e,f,g,h,i])
print(added)
print(len(added))
ϡʬǺץǤޤ꤯ƤޤChatGPT-4o˺Ƥäץϡ
from itertools import permutations
def is_valid_grid(grid):
for row in grid:
if not (row[0]<row[1]<row[2]):
return False
if not (grid[0][0]<grid[1][0]<grid[2][0]):
return False
return True
def count_valid_grids():
count=0
for perm in permutations(range(1,10)):
grid=[perm[:3],perm[3:6],perm[6:]]
if is_valid_grid(grid):
count+=1
return count
num_valid_grids=count_valid_grids()
print(f"9Ĥˡ{num_valid_grids}̤Ǥ")
ϥ٥ʥץǤ͡
627ڡ 10:12:32 53474
⡼ޥ
īŤƻ...^^;
123...6C2*4C2=90
124...5C2*4C2=60
125...4C2*4C2=36
126...3C2*4C2=18
127...1*4C2=6
1(2)34...5C2*3C2=30
1(2)35...4C2*3C2=18
1(2)36...3C2*3C2=6
1(2)37...1*3C2=3
1(23)45...4C2=6
1(23)46...3C2=3
1(23)47...2C2=1

90+60+36+18+6+30+18+9+3+6+3+1=280
(ϡ٥륯åĥͤκǽΥץƱǤ ^^)

βˡ򸫤ƤǤ
פͤȯۤϥ쥬!!
äѥȥ,٥륯åĥͤΤ狼䤹
9C3*6C3/3!=280
ǯͤΤ狼䤹Ǥ
627ڡ 10:13:59 53475
ޥ
ߤޤ礭ʥߥ򤷤Ƥޤޤm(_ _)m

ȡ42ȤΤȤǡʤߤޤ󡢻伫Ȥˤ븡ڤϤޤǤˡ򰷤Ȥʤ褦ˤޤm(_ _)m
8086 627ڡ 13:52:58 HomePage:53476
̿
ChatGPT-3.5˺äץǤ
import itertools
numbers=list(range(1,10))
count=0
for perm in itertools.permutations(numbers):
grid=[perm[:3],perm[3:6],perm[6:]]
if (grid[0][0]<grid[0][1]<grid[0][2] and grid[1][0]<grid[1][1]<grid[1][2] and grid[2][0]<grid[2][1]<grid[2][2]):
if grid[0][0]<grid[1][0]<grid[2][0]:
count+=1
print("ˡ",count,"̤ꤢޤ")
ȤƤϥ٥ǥѥȤʥץǤ͡
627ڡ 14:21:47 53477
̿
and b<e<h and c<f<iä42ˤʤޤ
627ڡ 17:05:18 53478
KawadaT
ޤ123ξޤ夬1μ5̤Ȥʤޤ

123

12
3

13
2

1
23

1
2
3

ξ硢Ĥ6ĤȾĤʬȡ줬դƤޤΤǡ(6C3)/2=10̤

줫ͤξ硢Ĥ6Ĥ3ġλĤ3Ĥ2ǰդ˷ޤޤΤǡ(6C3)*(3C2)*3=180̤

ޤξ硢ܤϻĤ6Ĥ2ġܤϤλĤ4Ĥ2ǰդ˷ޤޤΤǡ(6C2)*(4C2)*3=90̤

10+180+90=280̤Ǥ
628ʶ 8:11:46 53479
KawadaT
Ǥ
ˤͤξ硢
ޤξ硢(6C2)*(4C2)=90̤
628ʶ 8:15:24 53480
̿
طʤΤǤΡ߼ѤΩĤäƤҤ򶵤Ƥꤤפޤ
628ʶ 10:03:38 53481
٥륯åĥ
42ˤʤäǤ͡
ƻĴ٤Ϥ̵̤ˤʤʤƤ褫ä
628ʶ 10:20:13 53482
٥륯åĥ
1β2֤Ȥ
2β3֤41α˷ޤꡢ567֤Ĵ٤Ƥߤ5̤ꡣ
1α3֤Ȥ
4֤ȻĤηƱʤΤǤɤ5̤ꡣ
4֤ȡ567֤Ĵ٤Ƥߤ6̤ꡣ
53+621
о21242Ȥʤޤ
628ʶ 10:25:44 53483
٥륯åĥ
5675678δְ㤤Ǥ
628ʶ 10:30:10 53484
̿
߼Ѥϡ߼P߸ABʬABưȤAPBˢAOBȾʬǤ뤳ȤɤΤǤ͡
628ʶ 14:38:59 53485
٥륯åĥ
߼Ѥ濴Ѥ1/2ˤʤǤϰϤʤΤǡؤ⹻λͽ˺ܤäƤȻפޤǤ­ʤΤǤ礦
628ʶ 14:54:45 53486
̿
ǧ­Ǥɤ⡢ߤޤ
628ʶ 16:16:17 53488
̿
import itertools
numbers=list(range(1,10))
permutations=list(itertools.permutations(numbers))
count=0
for perm in permutations:
grid=[perm[:3],perm[3:6],perm[6:]]
if all(grid[i][0]<grid[i][1]<grid[i][2] for i in range(3)) and all(grid[0][i]<grid[1][i]<grid[2][i] for i in range(3)):
count+=1
print(f"֤:{count}̤Ǥ")
Υץ¹Ԥ42Ǥ
629ڡ 15:00:28 53489

1300󡢤ǤȤޤ
629ڡ 21:11:53 53490
KawadaT
ĻäǽˤĤ

ޤ123ξޤ夬1μ4̤Ȥʤޤ줾졢ABCD̿̾

123

12
3

13
2

1
2
3

ޤ789ξˤĤƤϡ9μ4̤Ȥʤޤ줾졢PQRS̿̾

???
???
789

???
??8
?79

???
??7
?89

??7
??8
??9

Ȥ߹碌Ǥ
APDSϳư̤
BCQRˤĤƤϡ2*2*3=24̤
BCPSˤĤƤϡ2*2*2=8̤
ADQRˤĤƤϡ2*2*2=8̤

ʾûơ42̤Ǥ

ʤASʤȤ߹碌ǤʤȤ⤢դƤ
71ʷ 16:59:21 53491
pii
1α¦8C228̤ꡢ
Ĥ6򭡡Ȥ1βǾʬ
硡Τ 4C26̤
硡Τ ξ꤬ޤ3̤
硡Τ ȭξ꤬ޤ1̤
äơ2810280̤
73ʿ 11:56:15 53492