|
スモークマン |
|
#38447
途中までは出せるんだけど...f(7) の計算の方法が急にわからなくなったり...^^;;...? f(1)=1 f(2)=2 f(3)=3!=6 f(4)=f(2)^2+2*f(3)-2=14 f(5)=f(2)^2+f(3)+2*f(2)*f(3)-3=31 f(6)=f(3)^2+f(2)^2+f(4)+2*f(3)*f(2)-5=73 f(7)=??? 1,2,6,14,31,73,172,400,...ってな数列になるようですね...^^;...v オンライン整数列大事典 より... A002524Number of permutations of length n within distance 2 of a fixed permutation. (Formerly M1600 N0626) |
|
金光@岡山
10月9日(日) 23:27:13
38448 |