2020杭电多校第二场The Oculus
第六题:The Oculus
题目:
Let’s define the Fibonacci sequence F1,F2,… as F1=1,F2=2,Fi=Fi−1+Fi−2 (i≥3).
It’s well known that every positive integer x has its unique Fibonacci representation (b1,b2,…,bn) such that:
· b1×F1+b2×F2+⋯+bn×Fn=x.
· bn=1, and for each i (1
原创
2020-07-23 19:53:35 ·
426 阅读 ·
0 评论