Need to increment multiplicator in a special way

前端 未结 0 1080
我寻月下人不归
我寻月下人不归 2020-12-06 14:10

In the program I\'m working on I have a loop in range 10. How do I best go about incrementing to get this sequence?

0 -- 1 -- 1 -- 2 -- 3 -- 3 -- 4 -- 5 -- 5 -- 6

相关标签:
回答
  • 消灭零回复
提交回复
热议问题