Блог пользователя Dhanadeepa_Red

Автор Dhanadeepa_Red, история, 10 месяцев назад, По-английски,


Can anyone help me in understand the problem.Just need explaination.Thanks in advance

  • Проголосовать: нравится  
  • +1
  • Проголосовать: не нравится  

10 месяцев назад, # |
Rev. 3   Проголосовать: нравится 0 Проголосовать: не нравится

A sequence is called good if all the numbers are divided by its previous number(excluding the first number ofcourse). So a sequence like — 1,4,12,36 is called good but 1,4,8,14 is not good.

Now you will be given n (the maximum number you can use in the sequence) and k (length of sequence). You have to tell how many sequences can be made out of these restrictions.

Solution Hint