title: Problem 895 date: 2024/06/15 09:00:00 --- *** # [Problem 895](https://projecteuler.net/problem=895) *** [Xem đề gốc (tiếng Anh)](https://projecteuler.net/problem=895) ## **Trò chơi tiền vàng và bạc II** Biến thể trò chơi tiền vàng và bạc. Tính $f(10^{18}) \pmod{10^9+7}$. ***