View Single Post
Old 2004-09-19, 18:56   #1
Logic
 

3×1,213 Posts
Default Request for an equation.

Let me start off by saying, I am terrible at math. I'm not even sure if I know how to explain this for you to understand, but here goes.

I am trying to obtain an equation for series of numbers, with a repeating pattern.
  • The numbers must be greater or equal to n.
  • The first series of numbers, must compose of n whole numbers after n.
  • After the first, and each series of numbers, n numbers must be excluded, followed by n series of numbers, and so on..

ex.

n = 4

would result in...

4, 5, 6, 7, 12, 13, 14, 15, 20, 21, 22, 23....

n = 2

2, 3, 6, 7, 10, 11...

Thanks a lot in advance.
  Reply With Quote