Ȥ
Basic

FOR a=1 TO 3
FOR b=1 TO 3
IF (a=1 AND b=2) OR (a=2 AND b=1) THEN GOTO 40
FOR c=1 TO 3
IF (b=1 AND c=2) OR (b=2 AND c=1) THEN GOTO 30
FOR d=1 TO 3
IF (c=1 AND d=2) OR (c=2 AND d=1) THEN GOTO 20
FOR e=1 TO 3
IF (d=1 AND e=2) OR (d=2 AND e=1) THEN GOTO 10
LET s=s+1
10 NEXT e
20 NEXT d
30 NEXT c
40 NEXT b
50 NEXT a
PRINT s
END

f9ơ99()
˭ԡ 624ڡ 0:08:07 MAIL:fttnm528@ybb.ne.jp 50597
鯤ο
ǽ餬ؤξμޤƣ
ǽ餬٤ξϡо飲
ǽ餬ڤξ⡢ǽ餬ؤξμޤʬڤȤʤ41
29+29+4199
//

624ڡ 0:11:51 50598
Ȥ
#50597

ɤ񤯤Τ

FOR a=1 TO 3
FOR b=1 TO 3
IF a*b=2 THEN GOTO 40
FOR c=1 TO 3
IF b*c=2 THEN GOTO 30
FOR d=1 TO 3
IF c*d=2 THEN GOTO 20
FOR e=1 TO 3
IF d*e=2 THEN GOTO 10
LET s=s+1
10 NEXT e
20 NEXT d
30 NEXT c
40 NEXT b
50 NEXT a
PRINT s
END

f9ơ99()

®äǤ
긫Τ20٤줿
˭ԡ 624ڡ 0:14:15 MAIL:fttnm528@ybb.ne.jp 50599
٥륯åĥ
XθĿǾʬƹͤޤ
0ġ32̤
1ġ28̤
2ġ21̤
3ġ12̤
4ġ5̤
5ġ1̤
99̤ˤʤޤ
624ڡ 0:14:36 50600

X
Y
Z

29294199̤

XXZ¡YYZ¡
ZXYZ¡5ʸܤιפФޤ
624ڡ 0:17:42 50601
鯤ο
A(n+2)={X(n+1)+Z(n+1)}+{Y(n+1)+Z(n+1)}+A(n+1)
=2*A(n+1)+Z(n+1)
=2*A(n+1)+A(n)

A(n+2)=2*A(n+1)+A(n)
A1=3
A2=7
A3=2*7+3=17
A4=2*17+7=41
A5=2*41+17=99
624ڡ 0:24:55 50602
ߤ
ǸդäʸǾʬĤ̤äݤ

ʸλ˱ü
ؤˤʤ뢪ʣݣʸλ˱üؤ
٤ˤʤ뢪ʣݣʸλ˱ü٤
ڤˤʤ뢪ʣݣʸλξο
ᣱλϺǸ夬ء١ڤΤ⣱̤ꡣ

Ǹ夬ء
Ǹ夬١
Ǹ夬ڡ

ᣲʹߤϽ˷׻ᣵλϣܣܣ᣹̤ꡣ

äݤ򤯤Ȥʤȡʸ餤ǤʤѤ
ֲˡΤʤ㤱ä֤פΤǡ
ΤǤѶŪ˰äƤ뤫⤷ޤ͡
624ڡ 0:24:59 50603
ǯ
Τ褦ɽäơ
XΤȤϡX+ZYθY+ZZθX+Y+ZǹפƤ椯
______1__2__3__4__5
X_______1______2______5______12_____29
Y_______1______2______5______12_____29
Z_______1______3______7______17_____41
פ99
624ڡ 0:27:49 50604
⡼ޥ
xy֤Ǿʬ...
ǽxy3^3
2ܤxy2*3^2
35*3
412
so...
3^5-2(12+15+18+27)=243-2*72=99
624ڡ 0:29:11 50605
ֿء׾ι
θĿǾʬƹͤޤ
ޤȤʤȤǰưȯʤ餺
624ڡ 6:48:58 50606
Ŀ
Τफǹͤޤ֤äǤ
624ڡ 7:23:56 50607
Ŀ
Τफǹͤޤ֤äǤ
624ڡ 7:24:04 50608
???
vbscript
dim a(5)
a(0)=0'Ŀ
call saiki(1,a)
msgbox a(0)
'
sub saiki(n,a())
a(n)=0
while a(n)<=2'X,Y,Z0,1,2ɽ
if n=1 then
dame=0
elseif a(n-1)+a(n)=1 then
dame=1
else
dame=0
end if
if dame=0 then
if n<5 then
call saiki(n+1,a)
else
a(0)=a(0)+1
end if
end if
a(n)=a(n)+1
wend
end sub
624ڡ 9:47:21 50609
ϺĹ
٥륯åĥƱ͡θĿʬǹͤޤ
Ĥλ321Ĥλ28
ݤ3ܤ1٤ʡ
99ġȯäƤޤä
624ڡ 12:50:06 50610
ɥȥ
#50601#50603#50604γΤ褦ˡɽDz򤭤ޤ
ΤǺǶ(ȤۤɤǤʤ)β򽬤äΤǡ᤯Ťޤ
624ڡ 14:55:20 50611
ɥȥ
лξο򤱤εפ֤꤫
624ڡ 17:43:57 50612
Ф
ñäƿͤʤΤʡۥȤ
ɽ񤯤Τ⸶ŪˤʤΤ
yˤʤĤ¤(n)
ˤʤĤ¤(n)Ȥ
a(1)=2b(1)=1
a(n+1)=a(n)+2b(n)
b(n+1)=a(n)+b(n)
a(5)+b(5)Ф褤
624ڡ 20:17:53 50613
ˤ⡼ʡء˥Υ
آϣ٤
٢ϣؤ
ڢϣؤ٤

ܤǣآܤϣ̤
ܤǣ٢ܤϣ̤
ܤǣڢܤϣ̤

ܤǣآܤϣ٤ڤǡ
줾죵ܤϣ̤ꡢ̤顢ܤϣ̤
ʲƱΤǣܣ٤ȣڡܡܤ
ջƹͤƤޤ

ؤȣ٤оθ
٤ʤ餹ޤ͡

ǤСǤ礦

ʥ說ܼϤߤʤ˾桦
̸޻ԡ 624ڡ 21:22:33 50614
ޤ륱
1168ǤHashȤä饤ʡrubyǤˡ

p Hash.new{|h,k|h[k]=k<2?[1,1,1]:[h[k-1][0]+h[k-1][2],h[k-1][1]+h[k-1][2],h[k-1].sum]}[5].sum

5 100ȤѤСĹ100ʸξ

228725309250740208744750893347264645481̤ꡪ

äƽФޤ
624ڡ 23:26:29 50615
ˤ⡼ʡء˥Υ
#50613 Фݤ
a(n)+b(n)̹ɽƤߤޤʢ売ܣˤʣݢ売ˤ顢㤴㤷ͤФƤƤޤޤ

ʲ
a(1)=2 , b(1)=1 Ȥ
a(n+1)=a(n)+2b(n) ĭ
b(n+1)=a(n)+b(n)ĭ

a(n+1)+xb(n+1)=y(a(n)+xb(n))Ȥơx,y򤯤
(x,y)=(2,2 +1) (-2 , 1-2)
Ѥơa(n)+2n,a(n)-2b(n)̹ɽ
a(n)+2b(n=(2+2)(1+2)^(n-1)
a(n)-2b(n) =(2-2)(1-2)^(n-1)

줫a(n)+b(n)Ƴ(㤴ˤʤ뤬n˼ƤϤԻ׵Ĥ˼ˤʤ)

̸޻ԡ 624ڡ 23:27:53 50616
ˤ
̣ˤޤ
Ķļˡ 625ʶ 6:20:58 HomePage:ޤޤ50617
ˤ⡼ʡء˥Υ
#50616³
a(n)+b(n)= (1+2)^(n+1) + (1-2)^(n+1)/2
n=5ΤȤ99
̸޻ԡ 625ʶ 21:35:19 50618
鯤ο
#50613

#50602Dz򤤤Ƥޤ
̹बˤʤʤפ顢ϡ֤˷׻
625ʶ 22:44:47 50619
ֿء׾ι
ˤäơץ⤷ƤߤޤңǤƵǤ
ؤμˤϣؤڤ򡢣٤μˤϣ٤ڤ򡢣ڤμˤϣؤ٤ڤ
դƤäơ5¤齪ǥȤޤ

$n=0
def m(y,r)
if r<5 then
case y when 'X' then for i in ['X','Z']; m(i,r+1) end
when 'Y' then for i in['Y','Z']; m(i,r+1) end
else for i in ['X','Y','Z']; m(i,r+1) end
end
else
$n+=1
end
end

m('z',0)
p $n

ʤߤ10¤٤ȡ̤ˤʤ褦Ǥ

626ڡ 14:31:20 50620
ޤ륱
ʤ
ޥ뤵Ȥ㤤ǰǤ
ޥȥΥ졼äǤ
630ʿ 14:14:05 50621
ޤ륱
#50620
> ʤߤ10¤٤ȡ̤ˤʤ褦Ǥ

#50615 Υ饤ʡǤ10ξäƤߤޤ
8119 ¿ޤ
630ʿ 18:26:30 50622