title: Problem 546 date: 2016/02/07 01:00:00 --- *** # [Problem 546](https://projecteuler.net/problem=546) *** [Xem đề gốc (tiếng Anh)](https://projecteuler.net/problem=546) ## **Trả thù sàn nhà** Dãy $a_n$: $a_0 = 1$, $a_n = \lfloor n \cdot a_{n-1} \rfloor + 1$ hoặc $\lfloor n \cdot a_{n-1} \rfloor$. Tính $a(10^{14})$. ***