← RoseCode

ROSECODE 299

A 5-way recurrence

sinan · Math ·

an+1=1×an-1×bn+2×cn-3×dn+5×en-8 bn+1=1×bn-2×cn+3×dn-5×en+8×an-13 cn+1=2×cn-3×dn+5×en-8×an+13×bn-21 dn+1=3×dn-5×en+8×an-13×bn+21×cn-34 en+1=5×en-8×an+13×bn-21×cn+34×dn-55 a0=b0=c0=d0=e0=1 What is nth solution for n=345? Answer format: an%M,bn%M,cn%M,dn%M,en%M where M=10000019 Note: The answer should consist of positive numbers.