{"title":"\u3044\u308d\u3044\u308d\u6570\u3048\u4e0a\u3052\u308b","author_name":"ryamada22","author_url":"https://blog.hatena.ne.jp/ryamada22/","height":"190","published":"2010-02-07 15:39:50","blog_url":"https://ryamada22.hatenablog.jp/","width":"100%","url":"https://ryamada22.hatenablog.jp/entry/20100207/1265438390","categories":["R","\u9806\u5217","\u7d44\u307f\u5408\u308f\u305b","\u30ab\u30bf\u30e9\u30f3\u6570","\u30d9\u30eb\u6570","\u7b2c\uff12\u30b9\u30bf\u30fc\u30ea\u30f3\u30b0\u6570","\u91cd\u8907\u9806\u5217","\u91cd\u8907\u7d44\u307f\u5408\u308f\u305b"],"type":"rich","description":"\u6570\u3048\u4e0a\u3052 # \u9806\u5217 permN<-function(N=10,k=3){ return(exp(lgamma(N+1)-lgamma((N-k)+1))) } \u7d44\u307f\u5408\u308f\u305b combN<-function(N=10,k=3){ return( exp(lgamma(N+1)-lgamma((N-k)+1)-lgamma(k+1)) ) } \u91cd\u8907\u9806\u5217 repPermN<-function(N=10,k=3){ return(N^k) } \u91cd\u8907\u7d44\u307f\u5408\u308f\u305b repCombN<-function(N=10,k=3){ return(combN(N+k-1,k)) } \u5206\u5272\u3068\u5206\u5272\u6570 N\u500b\u306e\u8981\u7d20\u3092\u6301\u3064\u5206\u5272\u306e\u2026","blog_title":"ryamada\u306e\u907a\u4f1d\u5b66\u30fb\u907a\u4f1d\u7d71\u8a08\u5b66\u30e1\u30e2","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fryamada22.hatenablog.jp%2Fentry%2F20100207%2F1265438390\" title=\"\u3044\u308d\u3044\u308d\u6570\u3048\u4e0a\u3052\u308b - ryamada\u306e\u907a\u4f1d\u5b66\u30fb\u907a\u4f1d\u7d71\u8a08\u5b66\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","image_url":null,"version":"1.0"}