ROSECODE 469
Palindromic Infinite Sequence
An infinite sequence is said palindromic if:
for every there is such as is palindromic.
It can be proved that for any irrational , the sequence for is palindromic.
is the integer part of x.
For the irrational , this sequence is palindromic for following indexes:
index. Give your answer modulo
You are given 3352820698 the index
[My timing : 15 sec]
for every
It can be proved that for any irrational
For the irrational
- 1 - 1
- 2 - 4
- 3 - 11
- 4 - 18
- 5 - 25
- 6 - 32
- 7 - 71
You are given 3352820698 the
[My timing : 15 sec]