nが奇数ならば、2a[n+1]=a[n]+a[n+2]
nが偶数ならば、(a[n+1])^2=a[n]a[n+2]