节日快乐!
谢谢 northwolves 给出通项公式。谢谢 northwolves !
- Table[2 k - Round[Sqrt[k]]^2 - Floor[Sqrt[k - 1]]^2, {k, 110}]
复制代码
1, 2, 1, 3, 2, 4, 1, 3, 5, 2, 4, 6, 1, 3, 5, 7, 2, 4, 6, 8, 1, 3, 5, 7, 9, 2, 4, 6, 8, 10, 1, 3, 5, 7, 9, 11, 2, 4, 6, 8, 10, 12, 1, 3, 5, 7, 9, 11, 13, 2, 4, 6, 8, 10, 12, 14, 1, 3, 5, 7,
9, 11, 13, 15, 2, 4, 6, 8, 10, 12, 14, 16, 1, 3, 5, 7, 9, 11, 13, 15, 17, 2, 4, 6, 8, 10, 12, 14, 16, 18, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, ...}
1, 2,
1, 3, 2, 4,
1, 3, 5, 2, 4, 6,
1, 3, 5, 7, 2, 4, 6, 8,
1, 3, 5, 7, 9, 2, 4, 6, 8, 10,
A167430——没有有通项公式。 |