ʪ
Ǹ4ϡߡ
(3ȡ)
1󤺤ᤷƹͤ
31
41
52
64
781(1ϡ3ϢǤդ)
8141
9262
10484
¤׻96̤ꡣ
2^n1Ȼפޤ㤤ޤ(ξ˺Ƥ)
514ڡ 0:12:56 43258
٥륯åĥ
ƻ˹ͤƤޤ
7ܡߤǤθξ
6ܤޤơߤ1Ʃꡢ516Ʃꡦ246Ʃꡣ
6ܡߤǤθǽλξ
5ܤޤơߤ1Ʃꡢ

פϻפĤޤǤȯǤΤ­Ǥ
514ڡ 0:13:15 43259
4329ܤβ
ݥȤ1ԤݥȤ0ˤʤ롣3ݥȤã齪λ
näkݥȤǤοa(n,k)Ȥ
ޤa(0,0)=1,a(0,1)=a(0,2)=a(0.3)=0
n+1ä0ݥȤˤʤ뤿ˤ,nä2ݥȰʲǤꡢn+1ܤ˼ԤФΤa(n+1,0)=a(n,0)+a(n,1)+a(n,2)
n+1äk+1ݥ(0k2)ˤʤ뤿ˤnäkݥȤǤꡢn+1ܤФΤa(n+1,k+1)=a(n,k)
ʾ򤭡a(3,3)a(10,3)ޤ­96̤
ȤäƷ׻ޤ
514ڡ 0:14:39 43260
å
3­мξοޤ뤳Ȥ˵ŤΤ٤äǤ
514ڡ 0:15:47 43261
!!!
Ū˥ȥܥʥåʴ
͡ 514ڡ 0:15:55 43262
٥륯åĥ
⤷Ƥ졢Ρ޽񤤤Ƥääᤫä
514ڡ 0:24:30 43263
ߤ
ľǾʬˡ

ʤˡ
ʤˡ
ʤˡߡ
ʤˡߡ
Ȥȡʣܣ˲ܤξο
ʤˡܤΡʤ
ʤˡܤΡʤˤȣܤΡʤˤι
ʤˡܤΡʤˤȣܤΡʤˤι
ʤˡܤΡʤˤȣܤΡʤˤι
ʣܣ˲ܤǽλܤΡʤ
Ȥʤ롣

ܡܤɽˤ
ʤˡ
ʤˡߡ
ʤˡߡ
ʤˡߡߡ
ʤˡ
ʤˤϤβǽλοɽ

ʾꡢ٤ʤˤιפ
ܣܣܣܣܣܣܣ᣹̤ꡣ

ǤϤʤߤǤŪʲäƻǤϥʤ
514ڡ 0:41:52 43264
Ȥ
basic 1󤫤10ޤǤ򤽤줾a,b,c,d,e,f,g,h,i,j,Ԥ0,1Ȥ

FOR a=0 TO 1
for b=0 to 1
for c=0 to 1
IF a+b+c=3 THEN LET s1=s1+1
for d=0 to 1
IF a+b+c<>3 AND b+c+d=3 THEN LET s2=s2+1
for e=0 to 1
IF a+b+c<>3 AND b+c+d<>3 AND c+d+e=3 THEN LET s3=s3+1
for f=0 to 1
IF a+b+c<>3 AND b+c+d<>3 AND c+d+e<>3 AND d+e+f=3 THEN LET s4=s4+1
for g=0 to 1
IF a+b+c<>3 AND b+c+d<>3 AND c+d+e<>3 AND d+e+f<>3 AND e+f+g=3 THEN LET s5=s5+1
for h=0 to 1
IF a+b+c<>3 AND b+c+d<>3 AND c+d+e<>3 AND d+e+f<>3 AND e+f+g<>3 AND f+g+h=3 THEN LET s6=s6+1
for i=0 to 1
IF a+b+c<>3 AND b+c+d<>3 AND c+d+e<>3 AND d+e+f<>3 AND e+f+g<>3 AND f+g+h<>3 AND g+h+i=3 THEN LET s7=s7+1
FOR j=0 TO 1
IF a+b+c<>3 AND b+c+d<>3 AND c+d+e<>3 AND d+e+f<>3 AND e+f+g<>3 AND f+g+h<>3 AND g+h+i<>3 AND h+i+j=3 THEN LET s8=s8+1
10 next j
20 next i
30 next h
40 next g
50 next f
60 next e
70 next d
80 next c
90 next b
100 next a
PRINT s1;"+";s2;"+";s3;"+";s4;"+";s5;"+";s6;"+";s7;"+";s8;"=";s1+s2+s3+s4+s5+s6+s7+s8
end

f9 1+1+2+4+7+13+24+44=96()

Τ˥ȥܥʥåˤʤäƤޤ͡
˭ԡ 514ڡ 0:50:08 MAIL:fttnm528@ybb.ne.jp 43266
Mr.ǥ
4ʾ夫Ȥϡߡͤơ
nǡϢ³ʤοPnȤ
P01P12P24P37
4ΤȤ
ߡθ塢3Ϣ³ʤ.......Pn-3̤
ߡθ塢3Ϣ³ʤ.......Pn-2̤
ߡθ塢3Ϣ³ʤ.......Pn-1̤
Ȥʤ
Pn=Pn-1+Pn-2+Pn-3ʷɤϥȥܥʥåȤʤޤ͡
ä
P4=2+4+7=13P5=4+7+13=24P6=7+13+2444

3ʡˤΤȤȡ4ʾ夫
P0P6¤Ф褤Τ
1+1+2+4+7+13+24+4496
Ȥޤ
514ڡ 11:39:07 43267
⡼ޥ
ɤְäƤ ^^;
a(3)=1
a(4)=1
a(5)=2
a(6)=2^2=4
a(7)=2^3-1=7
a(8)={(1,3),4}=2^4-2-1=13
a(9)={(1,1,3),(2,3),(1,4),5}=2^5-3-2-2-1=32-8=24
a(10)={(1,1,1,3),(1,2,3),(1,1,4),(2,4),(3,3),(1,5),6}=2^6-4-6-3-2-1-2-1=45
1+1+2+4+7+13+24+45=97
ˤʤ褦ʡ
¨ ^^;v 514ڡ 1:23:22 43268
ǯ
20ʬٲ᤮ƤΤ٤ĤǤǤäȵޤ
׻3Ĥ3ġϡߡϡߡˤϤߤ󤵤Ʊ褦ˡ¦2Ĥߡߡߡߤʬơͤɽǵƹס
514ڡ 1:36:42 43269

ܤǤϤޤäƽΤAnȤ
ܤAn-1ߤ˽񤭴ƽλAn-4Ҥ
AnᡡAn-1 An-4ȤƷ׻ޤ
514ڡ 2:09:40 MAIL:nikotan@fat.coara.or.jp 43270

⡼ޥ󤵤#43268
Фϡ
ɤ߰㤨Ƥ鿽ʤǤ
a(10)(3,3)ʬϡ
ߡߡߤȡߡߡߡ
2̤Ƥ褤ΤǤϤʤǤ礦
򤤹ͤǤ͡μˡΤ
ͤ褦Ȥޤ⡼ޥ󤵤Τ褦ˤǤޤǤ(^_^;)
514ڡ 2:43:09 43271

λϡʤΤǡλˡߤդơλϤˡߤդơȤ褦ˤơʤդ븵Ĥξ硢դȣҤäƤޤΤǡߤդ˿ޤ
⡼ޥ󤵤Τa(10)(3,3)3ġȸ3ġΣ̤꤬Τǡ2ˤʤΤȻפޤ
(ǤäƤˡJޥޤ󤬤ääƤޤŤˤʤäƤޤ

Ϻꡡ 514ڡ 3:17:52 43272

ᤤ󡢤Ϥ褦ޤ
⤷Ƽ餷ޤ
ʤΤ褯礤ޤ͢()
Ȥꤤޤ

514ڡ 6:22:57 43273
ϥ饮㡼ƥ
Ϥ褦ޤ

Ʊ褦ʹͤǤץͤޤ
514ڡ 7:33:12 HomePage:湩ؤ˥43274
ϺĹ
ȯλ񤭹
ɤߤʤ顢¿ʬʤΰ̣Ϥ褯ʬäƤʤɡŪ
򤱤ɤʡȹ̤ͤ˹ͤ
ϴ򤷤ɡΥĤФƤޤä褦Τδ̵ʤޤ
Ǥ⤳ȡ⤷ʤäˡäꤷƻɷޤ
դǤ
514ڡ 9:37:27 43275
uchinyan
Ϥˤϡơϡ
Ū褯ǡǤ¿ꤵƤǤ礦ʴǡ

(ˡ1)
ԤߡɽȤˤޤ
ȡǸ 3 ϡ4 ʾꤲȤϤߡǡʳϡʤȤ¤Ӥˤʤޤ
ǡʳʬϡȡߤǽ񤱤뤹٤Ƥ¤Ӥޤ¤Ӥޤ
8 ᤮ȡ4 ʾ³礬ΤǡθĿǾʬ򤷤ƿƽޤ
10 ޤĴ٤ƹפФǤ
03 1 ̤ꡣ
04 1 ̤ꡣ
05 2^1 = 2 ̤ꡣ
06 2^2 = 4 ̤ꡣ
07 2^3 - 1 = 7 ̤ꡣ
08 2^4 - (1 + (1 + 1)) = 16 - (1 + 2) = 16 - 3 = 13 ̤ꡣ
09 2^5 - (1 + (1 + 1) + (2 + 1 + 2)) = 32 - (1 + 2 + 5) = 32 - 8 = 24 ̤ꡣ
10 2^6 - (1 + (1 + 1) + (2 + 1 + 2) + (4 + 2 + 2 + 4)) = 64 - (1 + 2 + 5 + 12) = 64 - 20 = 44 ̤ꡣ
Ǥ٤ƤʤΤǡפơ
1 + 1 + 2 + 4 + 7 + 13 + 24 + 44 = 96 ̤
ˤʤޤ

(ˡ2)
Ǹ 3 ϡ4 ʾꤲȤϤߡǡʳϡʤȤ¤ӡ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(n) = S(n-1) + S(n-2) + S(n-3) + 1S(3) = 1S(4) = 2S(5) = 4
B(n) = B(n-1) * 2 - B(n-4)B(3) = 1B(4) = 2B(5) = 4B(6) = 8
(Ť餤Ǥ)Ʊ褦ˤƳޤǡ
S(6) = 8S(7) = 15S(8) = 28S(9) = 52S(10) = 96
B(7) = 15B(8) = 28B(9) = 52B(10) = 96
Ȥ뤳ȤǤޤ
ͥνȡ 515ʶ 11:45:01 43276
uchinyan
ǼĤɤߤޤ
ʹͤΤǤ¤ϻ褦ʤΤ¿ʬϤʤꤤøǤ (^^;

#43258#43270#43272#43276(ˡ3)
˸ƹͤȡ2 ܤԲĤʤΤȤǤ롤ȤѤˡ

#43259
ǽ餫ƻ˿ˡ

#43260
1 ݥԤݥȤ 0 ˤʤꡤ3 ݥȤǽλȤ
n k ݥȤξοäƹͤˡ

#43261#43262#43267#43276(ˡ2)
Σξο­ȼβξοˤʤ뤳ȤѤƲ򤯲ˡ

#43263
Ǹ壳դ˸äƼޤ񤤤ƹͤˡ

#43264#43269
齪λ뤫ɤľΣξǷޤΤǡľξǾʬĴ٤ˡ

#43268(ְ㤤)#43276(ˡ1)
ƲκǸʳϣϢ³ʤοƻ˿ˡ

#43266
ץˤˡ

ʤ
#43264
任ǤϤʤߤǤŪʲäƻǤϥʤ
ɤʤǤ礦͡
ϻ˷ȤԤǤϤʤΤ԰Ǥ
#43276(ˡ2)(ˡ3)Τ褦ˡɽΤϡ餫ˡǤϤʤȻפޤ
ͤΤϡʤȤǤϡꡤʤΤǤϤʤʡȤƤޤ
ξ硤ȤΤޤޤΤǡξϤ OK ǡ
Ǥ⡤ߤ󤵤#43264Τ褦ˡɽȤʤɤƵ§򼨤פ򤹤С
ΤǤϤʤʤ (^^;
ͥνȡ 514ڡ 15:55:06 MAIL:uchi@sco.bekkoame.ne.jp 43277
⡼ޥ
#43271
Jޥޤ ^^
#43272
ᤤ ^^

ä
äλǤޤ ^^;v
ξͤ͡ƤäƤ꤬Ȥޤm(_ _)m
¨ ^^;v 514ڡ 16:20:09 43278
???
Option Explicit
Dim a(10) As Integer
Sub Macro1()
Cells(1, 1).Value = 0
Call saiki(1)
End Sub
Sub saiki(ByVal n As Integer)
Dim j As Integer
a(n) = 1
While a(n) <= 2
If n < 3 Then
Call saiki(n + 1)
ElseIf a(n - 2) + a(n - 1) + a(n) = 3 Then
Cells(1, 1).Value = Cells(1, 1).Value + 1
For j = 1 To n
Cells(Cells(1, 1).Value, j + 1).Value = throw(a(j))
Next j
ElseIf n < 10 Then
Call saiki(n + 1)
End If
a(n) = a(n) + 1
Wend
End Sub
Private Function throw(ByVal n As Integer) As String
If n = 1 Then throw = "" Else throw = ""
End Function
514ڡ 16:53:25 43279
C10
򤤤Ƥǥȥܥʥå˵Ťޤ3ĤĢߤθˤ뷫֤ʤΤ˵դƤФȻפФǤ
516ڡ 2:57:51 43280
Ϸʼ
Τ褦ɽˤƤߤޤ
ԡ








㡢ϤޤΤǤλΣܤǤ
ꤹΣܤϼԤǤ
ꤹȤϣȣμԤιפǤ
ԤϣιǤ
ʲλƱȤ򷫤֤ޤ
Ǹˡɽι­ޤ
ʡ 516ڡ 10:16:15 43281
ۤ
ƽ񤭹ߤޤꤤޤ

ϡߤDz򤭤ޤְ㤨ǥҥҥ䤷ޤ
516ڡ 12:40:48 HomePage:ۤ43282
ۤ
ƽ񤭹ߤޤꤤޤ

ϡߤDz򤭤ޤְ㤨ǥҥҥ䤷ޤ
516ڡ 13:17:30 HomePage:ۤ43283
ǯ
4329ܤβԤΡ ݥȤ1ԤݥȤ0ˤʤ롣3ݥȤã齪λפȤΤ򣱲ܤޤäƵƤ椯ȡA(n)=A(n-1)+A(n-2)+A(n-3) ʤȥܥʥåȤΤǤϤʹ̾ǤˤȤʤͻҤʬä򤤤Ǥ͡

516ڡ 14:47:34 43284
ޤ
Ȥʤξʬǹͤޤ
ܣξξιפǡ
520ʿ 9:08:13 43285