I. Giá trị ở vị trí thứ k - 4


Submit solution

Points: 10
Time limit: 1.0s
Memory limit: 256M

Problem type

Cho dãy số sau: 1 ; 3 ; 7 ; 13 ; 21 ; 31 ; ….
Nhập vào số k, hãy in ra số ở vị trí thứ k

input

2

output

3

input

6

output

31


Comments

There are no comments at the moment.