¥Þ¥µ¥ë
º£½µ¤Ï¿Þ·ÁÌäÂê¤òÍÑ°Õ¤·¤Æ¤¤¤¿¤Î¤Ç¤¹¤¬¡¢¥È¥é¥Ö¥ë¡ÊÁÛÄꤷ¤Æ¤¤¤¿ÊýË¡¤È¤ÏÊ̤ÎÊýË¡¤Ç´Êñ¤Ë²ò¤±¤ë¤³¤È¤¬Ê¬¤«¤Ã¤Æ¤·¤Þ¤Ã¤¿..¡Ë¤Î¤¿¤á¡¢µÞ¤­¤çº¹¤·Âؤ¨..¡£Àè½µ¤È»÷¤¿¤è¤¦¤ÊÀßÄê¤ÎÌäÂê¤Ç¥¹¥ß¥Þ¥»¥ó¡£m(__)m
Mac mini¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:06:37¡¡¡¡ HomePage:Men@Work¡¡¡¡38546
¥´¥ó¤È¤â
½½¿Êbasic¤ÇÎóµó¤µ¤»¤Þ¤·¤¿¡£

FOR a=1 TO 4
FOR b=1 TO 4
FOR c=1 TO 4
if a+b+c=10 then print a;b;c
FOR d=1 TO 4
IF a+b+c+d=10 THEN PRINT a;b;c;d
FOR e=1 TO 4
IF a+b+c+d+e=10 THEN PRINT a;b;c;d;e
FOR f=1 TO 4
IF a+b+c+d+e+f=10 THEN PRINT a;b;c;d;e;f
FOR g=1 TO 4
IF a+b+c+d+e+f+g=10 THEN PRINT a;b;c;d;e;f;g
FOR h=1 TO 4
IF a+b+c+d+e+f+g+h=10 THEN PRINT a;b;c;d;e;f;g;h
FOR i=1 TO 4
IF a+b+c+d+e+f+g+h+i=10 THEN PRINT a;b;c;d;e;f;g;h;i
FOR j=1 TO 4
IF a+b+c+d+e+f+g+h+i+j=10 THEN PRINT a;b;c;d;e;f;g;h;i;j
NEXT j
NEXT i
NEXT h
NEXT g
NEXT f
NEXT e
NEXT d
NEXT c
NEXT b
NEXT a
END

f9²¡¤·¤Æ401Ä̤ê¤òÎóµó¡ª
Ë­Àî»Ô¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:08:10¡¡¡¡ MAIL:fttnm528@ybb.ne.jp ¡¡¡¡38547
¤ª¤¤¤é¡÷NY
£²£³Ä̤ê¤Î¿ô»ú¤ÎÁª¤Ó¤«¤¿¤Î¥Ñ¥¿¡¼¥ó¤ò¤½¤ì¤¾¤ì¿ô¤¨¾å¤²¤Þ¤·¤¿¡£
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:15:41¡¡¡¡ ¡¡¡¡38548
¥­¥Î¥Ô¡¼
¥Õ¥£¥Ü¥Ê¥Ã¥Á¡¦¥È¥ê¥Ü¥Ê¥Ã¥Á¡¦¥Æ¥È¥é¥Ê¥Ã¥Á
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:16:06¡¡¡¡ ¡¡¡¡38549
¡ù×Ä
²¿¤â¹Í¤¨¤º¤Ë½ñ¤­½Ð¤·
55
541
532
5311
52111
511111
64
631
622
6211
61111
73
721
7111
82
811
91
10

ʤÙÂؤ¨¹Íθ¤·¤Æ2¡°9¤Î512¤«¤é°ú¤¤¤Æ401
´Ö°ã¤¨¤Æ501¤Ã¤ÆÁ÷¿®¤·¤Æ¤¿¤ß¤¿¤¤¤Ç½ç°Ì¤á¤Ã¤Á¤ãÍî¤Á¤Þ¤·¤¿¡ä¡ã
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:16:21¡¡¡¡ ¡¡¡¡38550
¤ß¤«¤ó
Ϥ¬£±£°¤Ë¤Ê¤ëÁȤ߹ç¤ï¤»¤òÃÏÆ»¤Ë½ñ¤­½Ð¤·¡¢¤½¤ÎÁȤ߹ç¤ï¤»¤Ç
²¿Ä̤ê¤ÎʤÙÊý¤¬¤¢¤ë¤«¤ò£±¤Ä¤º¤Ä·×»»¡£
¡Ê£´¡¦£´¡¦£²¡Ë¢ª£³Ä̤ê
¡Ê£´¡¦£´¡¦£±¡¦£±¡Ë¢ª£¶Ä̤ê
¡Ê£´¡¦£³¡¦£³¡Ë¢ª£³Ä̤ê
¡¡ÅÓÃæ¤Ï¾Êά
¡Ê£²¡¦£²¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡Ë¢ª£²£¸Ä̤ê
¡Ê£²¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡Ë¢ª£¸Ä̤ê
¡Ê£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡¦£±¡Ë¢ª£±Ä̤ê

¤Þ¤È¤á¤Æ¤ª¤¯¤È
¡¡ºÇÂç¤Î¿ô»ú¤¬£´¤Î¾ì¹ç¡Ä£±£²£·Ä̤ê
¡¡ºÇÂç¤Î¿ô»ú¤¬£³¤Î¾ì¹ç¡Ä£±£¸£µÄ̤ê
¡¡ºÇÂç¤Î¿ô»ú¤¬£²¤Î¾ì¹ç¡Ä£¸£¸Ä̤ê
¡¡£±¤Ð¤Ã¤«¤ê¡Ä£±Ä̤ê
¤Î¹ç·×£´£°£±Ä̤ê¤Ç¤·¤¿¡£

¿ô¤¨Íî¤È¤·¤ä·×»»´Ö°ã¤¤¤¬¤Ê¤«¤Ã¤¿¤Î¤Ï´ñÀ×Ū¤À(^_^)
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 1:07:53¡¡¡¡ ¡¡¡¡38551
£Í£ò.¥À¥ó¥Ç¥£
¤ß¤«¤ó¤µ¤ó¤Î¡¡#38551¤È¤Þ¤Ã¤¿¤¯Æ±¤¸²òË¡¤Ç¤·¤¿¡£
¡Ê¤â¤Ã¤È³Ú¤Ë¤Ç¤­¤½¤¦¤Êµ¤¤¬¡¦¡¦¡¦¡©¡ª¡Ë
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:26:44¡¡¡¡ ¡¡¡¡38552
¤«¤«¤«¡ª
#38551¤ÈƱ¤¸ÃÏÆ»¤Ê²òË¡¡£

¼«Ê¬¤Ï4¤¬2¤Ä¤Î¾ì¹ç¡¢1¤Ä¤Î¾ì¹ç¡¢¤Ê¤¤¾ì¹ç¤Çʬ¤±¤Æ¹Í¤¨¤Þ¤·¤¿¡£

4¤¬2¤Ä¤Î¾ì¹ç¡Ä9Ä̤ê
4¤¬1¤Ä¤Î¾ì¹ç¡Ä118Ä̤ê
4¤¬¤Ê¤¤¾ì¹ç¡Ä274Ä̤ê

9+118+274=401(Ä̤ê)

¤¿¤¤¤Æ¤¤¤³¤¦¤¤¤¦ÌäÂê¤Ç¤Ï¥«¥¦¥ó¥È¥ß¥¹¤ò¤¹¤ë¤Î¤Ç¤¹¤¬¡Ä
°ìȯ¤ÇÆþ¤ì¤Þ¤·¤¿¡£°Æ³°¥«¥¦¥ó¥È¤·¤ä¤¹¤¤¹½Â¤¡Ê¡©¡Ë¤Ë¤Ê¤Ã¤Æ¤ë¤Î¤«¤â
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:29:49¡¡¡¡ ¡¡¡¡38553
¥­¥Î¥Ô¡¼
³Æ°Ì¤ÎϤ¬
£±¢ª1Ä̤ê
£²¢ª1¡Ü£±¡á£²Ä̤ê
£³¢ª1¡Ü£²¡Ü£±¡á£´Ä̤ê
£´¢ª1¡Ü£²¡Ü£´¡Ü£±¡á£¸Ä̤ê
£µ¢ª1¡Ü£²¡Ü£´¡Ü£¸¡á£±£µÄ̤ê
£¶¢ª2¡Ü£´¡Ü£¸¡Ü15¡á£²£¹Ä̤ê
£·¢ª4¡Ü£¸¡Ü15¡Ü29¡á£µ£¶Ä̤ê
£¸¢ª8¡Ü15¡Ü29¡Ü56¡á£±£°£¸Ä̤ê
£¹¢ª15¡Ü29¡Ü56¡Ü108¡á£²£°£¸Ä̤ê
10¢ª29¡Ü56¡Ü108¡Ü208¡á£´£°£±Ä̤ê
¤È¤Ê¤ëÁ°¹à4¤Ä¤ò­¤·¤Æ¤¤¤¯¥Æ¥È¥é¥Ü¥Ã¥Á¿ôÎó¤Ç¤Ï¡©
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:35:42¡¡¡¡ ¡¡¡¡38554
tomh
1,2,3,4ÃÊÈô¤Ð¤·¤ò»È¤Ã¤Æ10Ãʾå¤ë¤³¤È¤ÈƱ¤¸¤Ç¤¹¤Í¡£
µ¤ÉÕ¤¯¤Î¤¬ÃÙ¤«¤Ã¤¿¡Ä (^^;
¿·³ã»Ô¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:35:53¡¡¡¡ MAIL:tomh@yahoo.co.jp HomePage:H to M¡¡¡¡38555
£Í¤µ¤ó
10¥±¥¿¤Î¾ì¹ç¡¡£¹¥±¥¿¤Î¾ì¹ç¡¡¡¦¡¦¡¦¡¡¤ÈÈó¾ï¤ËÃÏÆ»¤Êºî¶È¤ò¤·¤Þ¤·¤¿¡£
10¥±¥¿¡¡£±Ä̤ê
£¹¥±¥¿¡¡9C1¡á9
£¸¥±¥¿¡¡8C1+8C2=36
£·¥±¥¿¡¡7C1+7C2*2+7C3=84
°Ê²¼Î¬
1+9+36+84+120+101+44+6=401¡¡
¤³¤ó¤ÊÌÌÅݤʤ³¤È¤ò¤·¤¿¤Î¤Ï»ä¤À¤±¤«¤âorz
Â裲¥°¥ë¡¼¥×¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:37:54¡¡¡¡ HomePage:¼õÉÕÃæ¡¡¡¡38556
CRYING DOLPHIN
ºÇ½é¡¢ÌäÂ꤬ÊѤï¤Ã¤Æ¤Ê¤¤¤È´ª°ã¤¤¤·¤Æ¡¢£°»þ²á¤®¤Æ¤«¤é£µ²ó°Ê¾å¥ê¥í¡¼¥É
¤·¤¿¤Î¤Ï¡¢¤³¤³¤À¤±¤ÎÆü¸«ÄÅÅÄ(

³Æ°Ì¤ÎϤ¬10¤Ë¤Ê¤ê0¤ò»È¤ï¤Ê¤¤¾ì¹ç¤Î¿ô2^9¡Ý1¡á511¤«¤éÉÔÍפÊÀ°¿ô¤ò
°ú¤³¤¦¤È´ë¤ó¤Ç¤¤¤Þ¤·¤¿¤¬¡¢ÅÓÃæ¤ÇÌÌÅݤ¯¤µ¤¯¤Ê¤Ã¤Æ¹Í¤¨Ä¾¤·¤Æ¡¢
¡Ö¤³¤ì¤Ã¤Æ¥Õ¥£¥Ü¥Ê¥Ã¥Á¤Î¿ÆÀ̤¸¤ã¤Í¡©¡×¤È¤¤¤¦ÊýË¡¤Ë»ê¤Ã¤¿¼¡Âè¡£
(¤È¤¤¤¦¤«¡¢¼«Ê¬¤Î¤È¤³¤Ç»÷¤¿ÌäÂê¤ò½Ð¤·¤Æ¤¿¤³¤È¤Ë¡¢º£µ¤ÉÕ¤¤¤¿)

Ϥ¬1¡Ä1¤Î¤ß¡¢1Ä̤ê
Ϥ¬2¡Ä2¡¢11¤Î2Ä̤ê
Ϥ¬3¡Ä3¡¢21¡¢12¡¢111¤Î4Ä̤ê
Ϥ¬4¡Ä4¡¢31¡¢22¡¢211¡¢13¡¢121¡¢112¡¢1111¤Î8Ä̤ê
Ϥ¬5¡Äº¸Ã¼¤Î¿ô¤Ç¾ì¹çʬ¤±¤¹¤ë¤È¡Ö4?¡×¡Ö3?¡×¡Ö2?¡×¡Ö1?¡×¤Î4¥Ñ¥¿¡¼¥ó
¡¡¡¡¡¡¤¬¤¢¤ë¤¬¡¢¤³¤ì¤Ï?¤ÎÉôʬ¤Î¡ÖϤ¬1¡×¡ÖϤ¬2¡×¡ÖϤ¬3¡×¡ÖϤ¬4¡×
¡¡¡¡¡¡¤È¤Ê¤ë¾ì¹ç¤Î¿ô¤ÎϤËÅù¤·¤¤¤Î¤Ç¡¢1¡Ü2¡Ü4¡Ü8¡á15Ä̤ê
Ϥ¬6¡ÄƱÍͤˡ¢¡Ö4?¡×¡Ö3?¡×¡Ö2?¡×¡Ö1?¡×¤Î4¥Ñ¥¿¡¼¥ó¤ò¸À¤¤´¹¤¨¤Æ
¡¡¡¡¡¡¡ÖϤ¬2¡×¡ÖϤ¬3¡×¡ÖϤ¬4¡×¡ÖϤ¬5¡×¤è¤ê2¡Ü4¡Ü8¡Ü15¡á29Ä̤ê
Ϥ¬7¡Ä4¡Ü8¡Ü15¡Ü29¡á56Ä̤ê
Ϥ¬8¡Ä8¡Ü15¡Ü29¡Ü56¡á108Ä̤ê
Ϥ¬9¡Ä15¡Ü29¡Ü56¡Ü108¡á208Ä̤ê
Ϥ¬10¡Ä29¡Ü56¡Ü108¡Ü208¡á401Ä̤ê
ï¤â¤¤¤Ê¤¤»Ô³¹ÃÏ¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 0:47:22¡¡¡¡ HomePage:»»¿ô¡õð«Æ»¡¡¡¡38557
£Í£ò.¥À¥ó¥Ç¥£
¡Ô¹Í¤¨Ä¾¤¹¤È¡¢¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡Õ
¾ò·ï¤òËþ¤¿¤¹£î·å¤Î¿ô¤Î¸Ä¿ô¤ò¡¡£Á[£î]¤È¤¹¤ë¤È
£Á[1]¡á1¡¤£Á[2]¡á2¡¤£Á[3]¡á4 ,£Á[4]¡á8
£î¡æ5¡¡¤Î¤È¤­¡¡¡Ä¡¡£Á[£î]¡á£Á[£î-4]¡Ü£Á[£î-3]¡Ü£Á[£î-2]¡Ü£Á[£î-1]
¤È¤Ê¤ê¤Þ¤¹¤¬
£î¡æ6¡¡¤Î¤È¤­¤Ï¡¡
£Á[£î]¡á2*£Á[£î-1]¡Ý£Á[£î-5]¡¡¤Çµá¤á¤ë¤Î¤¬³Ú¤Ê¤è¤¦¤Ç¤¹¡£
£Á[5]¡á15
£Á[6]¡á15*2¡Ý1¡á29
£Á[7]¡á29*2¡Ý2¡á56
£Á[8]¡á2*56¡Ý4¡á108
£Á[9]¡á108*2¡Ý8¡á208
£Á[10]¡á208*2¡Ý15¡á401
£Á[11]¡á401*2¡Ý29¡á773
£Á[12]¡á1490¡¡¡¢£Á[13]¡á2872¡¡¡¢£Á[14]¡á5536¡¢¡¦¡¦¡¦
·å¿ô¤¬Â¿¤±¤ì¤Ð¡¢¤³¤ó¤Ê´¶¤¸¤Çµá¤á¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 1:37:12¡¡¡¡ ¡¡¡¡38558
abcba@jugglermoka
#38556

¼«Ê¬¤âƱ¤¸ÊýË¡¤Ç¤¹¡£
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 1:45:48¡¡¡¡ ¡¡¡¡38559
Ä̤ꤹ¤¬¤ê
½½¿Êbasic¤Ç¡¢»ä¤Ê¤é¤³¤¦¤«¤Ê¤¡¡Á

CALL puls10(0, count)
print count
END
EXTERNAL SUB puls10(s, count)
IF s >= 10 THEN
¡¡¡¡IF s = 10 THEN LET count=count+1
¡¡¡¡EXIT SUB
END IF
FOR i=1 TO 4
¡¡¡¡CALL puls10(s+i,count)
NEXT I
END SUB
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 8:17:44¡¡¡¡ ¡¡¡¡38560
¥Ï¥é¥®¥ã¡¼¥Æ¥¤
¤¹¤ß¤Þ¤»¤ó¡¢¥×¥í¥°¥é¥à¤Ç¤¹¡£¤À¤µ¤¤¥×¥í¥°¥é¥à¤Ç¤·¤¿¡£
»³¸ý»Ô¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 9:19:47¡¡¡¡ HomePage:À©¸æ¹©³Ø¤Ë¥Á¥ã¥ì¥ó¥¸¡¡¡¡38561
cyclone
#38550¤ËƱ¤¸
Ãæ±û¶è¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 12:43:37¡¡¡¡ HomePage:¥ª¥ó¥é¥¤¥ó¥Õ¥é¥Ã¥·¥å³«ºÅÃæ¡¡¡¡38562
uchinyan
¤Ï¤¤¡¤¤³¤ó¤Ë¤Á¤Ï¡£¤µ¤Æ¡¤º£²ó¤ÎÌäÂê¤Ï¡¥¡¥¡¥
¤¦¡Á¤à¡¤·ë¹½¹Í¤¨¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£¤³¤ó¤Ê´¶¤¸¤Ç¡£

(²òË¡1)
¾õ¶·¤òõ¤ë¤¿¤á¤Ë¤â¡¤¤È¤Ë¤«¤¯ÃÏÆ»¤Ë¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿¡£
³Æ·å¤Î¿ô»ú¤¬ 1 ¡Á 4 ¤ÇϤ¬ 10 ¤Ë¤Ê¤ë¤Î¤Ç¡¤
¤Þ¤º¡¤Ï¤¬ 10 ¤Ë¤Ê¤ë 1 ¡Á 4 ¤Î¥Ñ¥¿¡¼¥ó¤ò½ç½ø¤ò̵»ë¤·¤ÆÄ´¤Ù¡¤¤½¤ì¤é¤ò°ìÎó¤Ëʤ٤ì¤Ðµá¤á¤ëÀ°¿ô¤Ë¤Ê¤ê¤Þ¤¹¡£
Î㤨¤Ð¡¤10 = 1 + 2 + 3 + 4 ¤Ê¤Î¤Ç¡¤¥Ñ¥¿¡¼¥ó¤È¤·¤Æ¤Ï 1 2 3 4¡¤¤³¤ì¤òÊÂ¤Ù¤Æ 1234, 1243, 1324, ... ¤Ê¤É¤Î 4! = 24 ¸Ä¡¤¤Ê¤É¤Ç¤¹¡£
¤³¤ì¤ò¼Â¹Ô¤¹¤ë¤È¡¤¼¡¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£¡Ö->¡×¤Î¤¢¤ë¤Î¤¬°ÕÌ£¤Î¤¢¤ë¥Ñ¥¿¡¼¥ó¤Ç¡¤¡Ö->¡×¤Î±¦¤¬¤½¤Î¥Ñ¥¿¡¼¥ó¤ª¤±¤ëÀ°¿ô¤Î¸Ä¿ô¤Ç¤¹¡£
1 1 1 1 1 1 1 1 1 1 -> 10!/10! = 1
1 1 1 1 1 1 1 1 2 -> 9!/8! = 9
1 1 1 1 1 1 1 3 -> 8!/7! = 8
1 1 1 1 1 1 4 -> 7!/6! = 7
1 1 1 1 1 1 2 2 -> 8!/6!2! = 28
1 1 1 1 1 5
1 1 1 1 1 2 3 -> 7!/5! = 42
1 1 1 1 6
1 1 1 1 2 4 -> 6!/4! = 30
1 1 1 1 2 2 2 -> 7!/4!3! = 35
1 1 1 1 3 3 -> 6!/4!2! = 15
1 1 1 7
1 1 1 2 2 3 -> 6!/3!2! = 60
1 1 1 3 4 -> 5!/3! = 20
1 1 8
1 1 2 2 4 -> 5!/2!2! = 30
1 1 2 2 2 2 -> 6!/2!4! = 15
1 1 2 3 3 -> 5!/2!2! = 30
1 1 4 4 -> 4!/2!2! = 6
1 9
1 2 2 2 3 -> 5!/3! = 20
1 2 3 4 -> 4! = 24
1 3 3 3 -> 4!/3! = 4
2 8
2 2 2 4 -> 4!/3! = 4
2 2 2 2 2 -> 5!5! = 1
2 2 3 3 -> 4!/2!2! = 6
2 4 4 -> 3!/2! = 3
3 7
3 3 4 -> 3!/2! = 3
¤½¤³¤Ç¡¤À°¿ô¤ÎÁí¿ô¤Ï¡¤¡Ö->¡×¤Î±¦Ã¼¤Î¿ô¤ò­¤»¤Ð¤¤¤¤¤Î¤Ç¡¤
1 + 9 + 8 + 7 + 28 + 42 + 30 + 35 + 15 + 60 + 20 + 30 + 15 + 30 + 6 + 20 + 24 + 4 + 4 + 1 + 6 + 3 + 3 = 401 ¸Ä
¤Ë¤Ê¤ê¤Þ¤¹¡£

(²òË¡2)
(²òË¡1)¤ÎÅÓÃæ¤Çµ¤ÉÕ¤¤¤¿¤Î¤Ç¤¹¤¬¡¤
Î㤨¤Ð¡¤1 1 1 7 ¤Ë¤Ï¡¤1 1 1 2 5 ¤ÎÃæ´Ö¥Ñ¥¿¡¼¥ó¤¬¤¢¤ê¤Þ¤¹¤¬¡¤5 ¤Ï´û¤Ë 2 3 ¤È¥Ñ¥¿¡¼¥óʬ¤±¤µ¤ì¤Æ¤ª¤ê¡¤Ï¤¬ 5 ¤Î¾ì¹ç¤Ë´Ô¸µ¤µ¤ì¤Þ¤¹¡£
¾¤Î¾ì¹ç¤âƱÍͤǡ¤¤³¤ì¤ÏϤ˴ؤ·¤ÆÁ²²½¼°¤¬ºî¤ì¤ë¤³¤È¤ò°ÕÌ£¤·¤Æ¤¤¤Þ¤¹¡£
¤½¤³¤Ç¡¤Ï¤¬ n ¤Î¾ì¹ç¤ò a(n) ¸Ä¤È¤¹¤ë¤È¡¤
a(1) ¤Ï¡¤ÌÀ¤é¤«¤Ë 1 ¤À¤±¤Ç¡¤a(1) = 1 ¤Ç¤¹¡£
a(2) ¤Ï¡¤2 = 1 + 1 = 2 ¤è¤ê¡¤
ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 1 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ 1 ¤Î¾ì¹ç¤Î a(1) ¤È 2 ¼«ÂΤǡ¤
a(2) = a(1) + 1 = 1 + 1 = 2¡¤¤Ç¤¹¡£
a(3) ¤Ï¡¤3 = 1 + 2 = 2 + 1 = 3 ¤è¤ê¡¤
ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 1 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ 2 ¤Î¾ì¹ç¡¤ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 2 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ 1 ¤Î¾ì¹ç¡¤3 ¼«ÂΤǡ¤
a(3) = a(2) + a(1) + 1 = 2 + 1 + 1 = 4¡¤¤Ç¤¹¡£
a(4) ¤Ï¡¤4 = 1 + 3 = 2 + 2 = 3 + 1 = 4 ¤è¤ê¡¤
ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 1 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ 3 ¤Î¾ì¹ç¡¤ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 2 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ 2 ¤Î¾ì¹ç¡¤
ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 3 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ 1 ¤Î¾ì¹ç¡¤4 ¼«ÂΤǡ¤
a(4) = a(3) + a(2) + a(1) + 1 = 4 + 2 + 1 + 1 = 8¡¤¤Ç¤¹¡£
n >= 5 ¤Î¾ì¹ç¤Ï¡¤n = 1 + (n-1) = 2 + (n-2) = 3 + (n-3) = 4 + (n-4) ¤è¤ê¡¤
ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 1 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ n-1 ¤Î¾ì¹ç¡¤ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 2 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ n-2 ¤Î¾ì¹ç¡¤
ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 3 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ n-3 ¤Î¾ì¹ç¡¤ºÇ¾å°Ì·å¤Î¿ô»ú¤¬ 4 ¤Ç»Ä¤ê¤Î·å¤Î¿ô»ú¤ÎϤ¬ n-4 ¤Î¾ì¹ç¤Ç¡¤
a(n) = a(n-1) + a(n-2) + a(n-3) + a(n-4)
¤Ë¤Ê¤ê¤Þ¤¹¡£¤³¤ÎÌäÂê¤Ç¤Ï¡¤a(10) ¤òµá¤á¤ë¤Î¤Ç¡¤
a(5) = a(4) + a(3) + a(2) + a(1) = 8 + 4 + 2 + 1 = 15
a(6) = a(5) + a(4) + a(3) + a(2) = 15 + 8 + 4 + 2 = 29
a(7) = a(6) + a(5) + a(4) + a(3) = 29 + 15 + 8 + 4 = 56
a(8) = a(7) + a(6) + a(5) + a(4) = 56 + 29 + 15 + 8 = 108
a(9) = a(8) + a(7) + a(6) + a(5) = 108 + 56 + 29 + 15 = 208
a(10) = a(9) + a(8) + a(7) + a(6) = 208 + 108 + 56 + 29 = 401
¤½¤³¤Ç¡¤401 ¸Ä¡¤¤Ë¤Ê¤ê¤Þ¤¹¡£
¤Ê¤ª¡¤Ã±¤Ë·×»»¤ÎÊص¹¤Ç¤¹¤¬¡¤n >= 6 °Ê¾å¤Ï¡¤
a(n) = a(n-1) + a(n-2) + a(n-3) + a(n-4) = a(n-1) * 2 - a(n-5)
¤ÈÊÑ·Á¤·¤Æ·×»»¤·¤¿Êý¤¬³Ú¤«¤â¤·¤ì¤Þ¤»¤ó¤Í¡£
¥Í¥³¤Î½»¤à²È¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 13:35:10¡¡¡¡ ¡¡¡¡38563
uchinyan
·Ç¼¨ÈĤòÆɤߤޤ·¤¿¡£

#38548¡¤#38551¡¤#38552¡¤#38553¡¤#38556¡¤#38559¡¤#38563¤Î(²òË¡1)
ÃÏÆ»¤Ë¤½¤Î¤Þ¤Þ¾ò·ï¤òËþ¤¿¤¹¤â¤Î¤ò¿ô¤¨¾å¤²¤ë²òË¡¡£¿ô¤¨¾å¤²¤Î¾ì¹çʬ¤±¤Î»ÅÊý¤Ë¤Ï³Æ¿Í¤Î¹©Éפ¬¤¢¤ë¤è¤¦¤Ç¤¹¡£

#38550¡¤#38562
Ϥ¬ 10 ¤Ç³Æ°Ì¤Î¿ô»ú¤¬ 5 °Ê¾å¤ò´Þ¤à¤â¤Î¤ò¿ô¤¨¾å¤²Á´ÂÎ 2^9 = 512 ¤«¤é°ú¤¯²òË¡¡£

#38549¡¤#38554¡¤#38555¡¤#38557¡¤#38558¡¤#38563¤Î(²òË¡2)
Á²²½¼°¤Ë¤è¤ë²òË¡¡£

#38547¡¤#38560¡¤#38561¡¤#38565
¥×¥í¥°¥é¥à¤Ë¤è¤ë²òË¡¡£
¥Í¥³¤Î½»¤à²È¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 13:38:26¡¡¡¡ ¡¡¡¡38564
???
Option Explicit
Dim keta As Integer
Dim a(10) As Integer
Sub Macro1()
Cells(1, 1).Value = 0
For keta = Application.RoundUp(10 / 4, 0) To 10
Call saiki(1)
Next keta
Range("A1").Select
End Sub
Sub saiki(ByVal n As Integer)
Dim j As Integer
a(n) = 1
While a(n) <= 4
If n < keta - 1 Then
Call saiki(n + 1)
Else
a(keta) = 10
For j = 1 To keta - 1
a(keta) = a(keta) - a(j)
Next j
If 1 <= a(keta) And a(keta) <= 4 Then
Cells(1, 1).Value = Cells(1, 1).Value + 1
For j = 1 To keta
Cells(Cells(1, 1).Value, j + 1).Value = a(j)
Next j
Range("B" & Cells(1, 1).Value).Select
End If
End If
a(n) = a(n) + 1
Wend
End Sub
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 13:29:06¡¡¡¡ ¡¡¡¡38565
¤»
Ϥ¬£±£°¤Ë¤Ê¤ëÁȤ߹ç¤ï¤»¤òÁ´Éô½ñ¤­¤À¤·¤Æ¡¢¿ô¤¨¾å¤²¤Ç¤¹¡£
¥Õ¥£¥Ü¥Ê¥Ã¥Á¤Î¿ÆÀ̤µ¤ó¤Ç¤¹¤«¡¦¡¦¡¦¡¦
¾ì¹ç¤Î¿ô¤Ç¡¢¿ô¤¨¾å¤²°Ê³°¤Ç²ò¤±¤¿¤³¤È¤¬Ìµ¤¤¡¦¡¦¡¦¡¦¡¦¡¦
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 14:34:57¡¡¡¡ ¡¡¡¡38566
¤¢¤á¤¤
»»¿ô¥È¥é¥¤¥¢¥¹¥í¥ó¡¢¡ÊÀµ²ò¤Ê¤Î¤«¤â¤ï¤«¤ê¤Þ¤»¤ó¤¬¡Ë¤Þ¤À£³Ì䤷¤«²ò¤¤¤Æ¤¤¤Þ¤»¤ó¡£ÌäÂê¤ÎÆɤßÊý¤¬°­¤¤¤Î¤«¹Ô¤­µÍ¤Þ¤Ã¤¿ÌäÂê¤Ç»ß¤Þ¤Ã¤Æ¤·¤Þ¤¤¡¢Æ¨¤ì¤ë¤è¤¦¤Ë¤³¤Á¤é¤ËÄ©À路¤Þ¤·¤¿¡£¿ôÎó¤Ç¤Ç¤­¤ë¤Î¤Ç¤Ï¤Î´ª¤Ï¤¢¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢·ë¶É£³·å£²Ä̤ꡢ£´·å¡¦¡¦¤È½ñ¤­½Ð¤·¤Æ²ò¤¤¤Æ¤¤¤Þ¤·¤¿¡£¤ß¤Ê¤µ¤ó¤ÎÈþ¤·¤¤²òÅú¡¢¤¦¤é¤ä¤Þ¤·¤¤¤Ç¤¹¡£
¡¡¡¡ 11·î10Æü¡ÊÌÚ¡Ë 22:28:56¡¡¡¡ ¡¡¡¡38567