٥륯åĥ
ɽʤΤʬޤ
728ڡ 0:02:06 51694
٥륯åĥ
ɽޤ
AB¤٤Τ1̤ꡣ
2ĤǺȱˤΤ15̤ꡣ
4Ĥ2ĤưΤ45̤ꡣ
6Ĥ2ĤưΤ15̤ꡣ
76̤Ȥʤޤ
728ڡ 0:25:28 51695
Mr.ǥ
٥륯åĥ#51695Ʊͤ˹ͤޤ
ڻԡ 728ڡ 0:29:45 51696
å
Ф
11ΤȤ1̤
22ΤȤ2̤
33ΤȤ2+21=4̤
44ΤȤ4+32=10̤
55ΤȤ10+44=26̤
66ΤȤ26+510=76̤

xxΤȤf(x)Ȥȡf(x)=f(x-1)+(x-1)f(x-2)
728ڡ 0:33:46 51697
³bot
ͤƤʬʤäΤǥץ񤤤Ƥޤޤġ
https://wandbox.org/permlink/JLI3YjbyBcuJLqwF
񤷤ġ
728ڡ 0:35:06 51698
鯤ο
n*nγʻҤξA(n)Ȥ롣
A(1)=1
A(2)=2

n2ΤȤ
A(n+1)A(n)+n*A(n-1)Ωġ

ˤꡢ
A32+2*14
A4=4+3*2=10
A5=10+4*4=26
A6=26+5*10=76
//


(n+1)*(n+1)γʻҤ֤򺸤飱ܤβܤ֤Ǿʬȡ
(1)飱ܤ֤ȤοϡA(n)̤ꡣ
(2)飱ܰʳ֤ȤθФAB˴ؤоΤȤʤ֤֤ޤ롣
2ĤιԤĤ(n-2)(n-2)ԤˤĤƤξ礬A(n-2)̤ꡣ
(2)飱ܰʳϡn̤ꤢΤǡ롣
//
728ڡ 0:53:36 51699
鯤ο
ߥޤ



n*nγʻҤξA(n)Ȥ롣
A(1)=1
A(2)=2

n2ΤȤ
A(n+1)A(n)+n*A(n-1)Ωġ

ˤꡢ
A32+2*14
A4=4+3*2=10
A5=10+4*4=26
A6=26+5*10=76
//


(n+1)*(n+1)γʻҤ֤򺸤飱ܤβܤ֤Ǿʬȡ
(1)飱ܤ֤ȤοϡA(n)̤ꡣ
(2)飱ܰʳ֤ȤθФAB˴ؤоΤȤʤ֤֤ޤ롣
2ĤιԤĤ(n-1)(n-1)ԤˤĤƤξ礬A(n-1)̤ꡣ
(2)飱ܰʳϡn̤ꤢΤǡ롣
//
728ڡ 0:55:33 51700
鯤ο
ǽ顢§ǤȾʻҤǼ¸Ť֤͡ϲ񤷤Ƥޤޤǽ餫̹ͤ٤Ǥ
728ڡ 1:03:45 51701
ǯ
Aΰ֤(1,1)(1,6)B(6,6)Ȥ
ABޤ6¤٤.....1Ȥ
äΤ϶
Τ
2Ĥȴ6C2....ȴ2սˤΤ1̤ʤΤǡ6C2=15Ȥ
4Ĥȴ6C4
(x,y)оΰ֤(y,x)ʤΤǡۤʤȹ礻
(1,2,3,4)2Ȥʬ롣־¾οȹ礻(2,1)(3,1)(4,1)
⤦ĤϡĤȹ礻ʤΤǡ1̤
ȴ֤ȡоΰ֤֤֤Ȥȹ礻ǡ6C4*345Ȥ
6Ĥȴ6C0....
(1,2,3,4,5,6)2Ĥ3Ȥʬ
־Ȥ¾5̤ꡢĤä־Ȥ¾ȹ礻3̤ꡢ3ܤϻĤ
ʤΤ15̤
פǡ1+15+45+1576̤
728ڡ 1:05:14 51702
鯤ο
󡢾ȤäơƳȤϵפ֤ꡣ
򸡺Ƥߤ顢
4932120xx/7/2
4972220xx/11/5
˻ν񤭹ߤǾ󤬥ҥåȤޤ
xxǯĴ٤Τϡݡ
728ڡ 1:16:25 51703
äѥȥ
ɽƤޤǤʸϤоμг˰㤤ʤȤڤDz򤭤ޤ
оμʳˤĿ϶Ĥ˷ޤäƤ뤿ᡢоμθĿ
i)оμˣ
ܤϣ̤ǡоΤʾƱ˷ޤ뤿ᡢĤϣġ
ĤäʣκǾʤϣ̤ǡоΤʾƱ˷ޤ뤿ᡢĤϣġ
Ĥäʣϣ̤˷ޤ롣
ߣߣ15̤
ii)оμˣ
оμΣĤϣã¾ΣĤϣߣ̤ꡡ15̤
iii)оμˣ
оμΣĤϣã¾ΣĤϣ̤ꡡ15̤
iv)оμˣġ̤

ʾ­76̤
728ڡ 1:32:44 51704
Ȥ

(a1)(a2)(a3)(a4)(a5)(a6)
(b1)(b2)(b3)(b4)(b5)(b6)
(c1)(c2)(c3)(c4)(c5)(c6)
(d1)(d2)(d3)(d4)(d5)(d6)
(e1)(e2)(e3)(e4)(e5)(e6)
(f1)(f2)(f3)(f4)(f5)(f6) Ȥ
Basic

for a1=0 to 1
for a2=0 to 1
for a3=0 to 1
for a4=0 to 1
for a5=0 to 1
for a6=0 to 1
if a1+a2+a3+a4+a5+a6<>1 then goto 310
for b1=0 to 1
for b2=0 to 1
for b3=0 to 1
for b4=0 to 1
for b5=0 to 1
for b6=0 to 1
if b1+b2+b3+b4+b5+b6<>1 then goto 250
if a5=1 and b6<>1 then goto 250
for c1=0 to 1
for c2=0 to 1
for c3=0 to 1
for c4=0 to 1
for c5=0 to 1
if b4=1 and c5<>1 then goto 200
for c6=0 to 1
if c1+c2+c3+c4+c5+c6<>1 then goto 190
if a4=1 and c6<>1 then goto 190
for d1=0 to 1
for d2=0 to 1
for d3=0 to 1
for d4=0 to 1
if c3=1 and d4<>1 then goto 150
for d5=0 to 1
if b3=1 and d5<>1 then goto 140
for d6=0 to 1
if d1+d2+d3+d4+d5+d6<>1 then goto 130
if a3=1 and d6<>1 then goto 130
for e1=0 to 1
for e2=0 to 1
for e3=0 to 1
if d2=1 and e3<>1 then goto 100
for e4=0 to 1
if c2=1 and e4<>1 then goto 90
for e5=0 to 1
if b2=1 and e5<>1 then goto 80
for e6=0 to 1
if e1+e2+e3+e4+e5+e6<>1 then goto 70
if a2=1 and e6<>1 then goto 70
for f1=0 to 1
if a1+b1+c1+d1+e1+f1<>1 then goto 60
for f2=0 to 1
if a2+b2+c2+d2+e2+f2<>1 then goto 50
if e1=1 and f2<>1 then goto 50
for f3=0 to 1
if a3+b3+c3+d3+e3+f3<>1 then goto 40
if d1=1 and f3<>1 then goto 40
for f4=0 to 1
if a4+b4+c4+d4+e4+f4<>1 then goto 30
if c1=1 and f4<>1 then goto 30
for f5=0 to 1
if a5+b5+c5+d5+e5+f5<>1 then goto 20
if b1=1 and f5<>1 then goto 20
for f6=0 to 1
if f1+f2+f3+f4+f5+f6<>1 or a6+b6+c6+d6+e6+f6<>1 then goto 10
if a1=1 and f6<>1 then goto 10
let s=s+1
print "No.";s
print a1;a2;a3;a4;a5;a6
print b1;b2;b3;b4;b5;b6
print c1;c2;c3;c4;c5;c6
print d1;d2;d3;d4;d5;d6
print e1;e2;e3;e4;e5;e6
print f1;f2;f3;f4;f5;f6
10 next f6
20 next f5
30 next f4
40 next f3
50 next f2
60 next f1
70 next e6
80 next e5
90 next e4
100 next e3
110 next e2
120 next e1
130 next d6
140 next d5
150 next d4
160 next d3
170 next d2
180 next d1
190 next c6
200 next c5
210 next c4
220 next c3
230 next c2
240 next c1
250 next b6
260 next b5
270 next b4
280 next b3
290 next b2
300 next b1
310 next a6
320 next a5
330 next a4
340 next a3
350 next a2
360 next a1
end

f976ֹ̤򿶤ʤ
ޤĹ(532)ά!!
˭ԡ 728ڡ 1:43:25 MAIL:fttnm528@ybb.ne.jp 51705
ֿء׾ι
¾ˡġ2ġ4ġ6Ĥξʬǿޤ!
㤨С2Ĥλ¾Τɤ2Ĥǣãᣱͭäơ
Ĥ4Ĥϣ¾ǤϤʤΤǡ2Ĥļơ1Ȥޤ
Ĥ2Ĥ1̤ʤΤǡ3̤Ǥ
顢ߣᣴ̤

ܣܣܣ᣷
728ڡ 2:07:49 51706
ֿء׾ι
ˤäơңץǤ

p (0..35).to_a.combination(6).count{|x|x.map{|y|y%6}.uniq.count==6&&x.map{|y|[y%6,y/6]}.sort==x.map{|y|[y/6,y%6]}.sort}

ĹƤߤޤ
36Ĥֹդơ6ĤȤ߹碌ͤޤ
6Ĥ6ԤʬƤΤˤĤơԤؤƤȤưפΤޤ
728ڡ 7:43:24 51707
(Keigei)
IJĤΤȤɤ F(n)̤ȤơF(6)ޤ
ܤABɤȤF(5)̤ꡢ
ABˤʤȤABоΤʽɤɬפꡢ
F(4)̤ǤΤǡ
F(6)F(5)5F(4) ˤʤޤ
Ʊͤˡn3 ΤȤF(n)F(n-1)(n-1)F(n-2) Ǥ
F(1)1 F(2)2 顢
F(3)F(2)2F(1)2224
F(4)F(3)3F(2)43210
F(5)F(4)4F(3)104426
F(6)F(5)5F(4)2651076 Ǥ
728ڡ 8:01:47 51708
ֿء׾ι
#51707

x.map{|y|[y/6,y%6]}.sort}x.map{|y|[y/6,y%6]}}

combinationǾˤʤäƤΤǡϾˤʤäƤޤΤǡ
728ڡ 9:02:34 51709
ߥȤ
ͤɽʤƴְ㤤ޤʺǽϡ䲣ȻפäƤΤ3ۤɥߥޤ
Ϸϡ 728ڡ 10:00:13 51710
ߥȤ
ͤäѥȥ뤵٥륯å󡢥䥳å㤵󡢡ֿء׾ιԤMr.ǥƱˡǤޤ
Ϸϡ 728ڡ 10:12:15 51711
SECOND
DIM a(7)
DATA 1,2,3,4,5,6,0,0
MAT READ a
CALL perm20(1) !BASICǡ16 ŸP(6,6)

SUB perm20(k)
local i
IF k< 6 THEN
FOR i=k TO 6
swap a(k),a(i)
CALL perm20(k+1)
swap a(k),a(i)
NEXT i
ELSE
FOR j=1 TO 6
IF a(a(j))<>j THEN EXIT SUB ! оΤǤʤ
NEXT j
LET a(7)=a(7)+1
MAT PRINT USING "! <<<<<<No_###": a
END IF
END SUB

END

! 123456No_ 1
! 123465No_ 2
!
!
! 653421No_ 75
! 654321No_ 76
729ʶ 2:09:31 51712
ֿء׾ι
#51712֤פȴưǥĺRubyˤȡ

p (0..5).to_a.permutation.count{|x|x.map{|y|x[x[y]]==y}.count(true)==6}

ȤǤޤ꤬Ȥޤ
729ʶ 8:09:39 51713
ֿء׾ι
ä
p (0..5).to_a.permutation.count{|x|x.map{|y|x[x[y]]==y}.count(true)==6}

ꡢ2ʸʤǤޤ

p (0..5).to_a.permutation.count{|x|x.count{|y|(x[x[y]]==y)==true}==6}

ȤǤϤʤΤˡ餷ޤ
729ʶ 8:24:17 51714
DA
155+1
81ʷ 18:16:43 51715