Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
I want to explain the following procedure for th number 1 to 10.
I want to partition the numbers to the group of 3 like this:
1 2 3 : 2 3 4: 3 4 5 : 4 5 6 : 5 6 7: 6 7 8: 7 8 9: 8 9 10.
How can I explain it?
In real data set the partition size is 100 and I have more than 5000 numbers.
asked Feb 13, 2014 at 5:40
24522 silver badges88 bronze badges
I'd try saying:
Eight triplets of consecutive numbers from (1,2,3) through (8,9,10).
Although, in character count, your complete series is shorter… ;-)
answered Feb 13, 2014 at 5:58
1,6051212 silver badges1717 bronze badges
There are many ways to describe it. I might say,
A set of all possible three consecutive integers (chosen from 1 to 10).
An ordered list of [n,n+1,n+2], where n is an integer from 1 to 8.
answered Feb 13, 2014 at 9:54
Damkerng T.Damkerng T.
27k1010 gold badges6767 silver badges159159 bronze badges
Partitioning of a set with overlapping elements is mathematically called a covering. If the target audience is mathematically inclined, you could define this term and use it as follows:
Coverings of the set of integers from 1 to 10, consisting of 3 consecutive numbers.
answered Feb 13, 2014 at 11:15
You could say, "All partitions of the numbers from 1 to 10 consisting of three consecutive numbers, for example [1, 2, 3], and [2, 3, 4].".
answered Feb 14, 2014 at 1:03
43922 silver badges66 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged