Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6012675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:26:18+00:00 2026-05-23T02:26:18+00:00

I am searching for an algorithm to calculate pairs from a class of n

  • 0

I am searching for an algorithm to calculate pairs from a class of n (a list of student names) for w weeks, so that a student never coöperates with the same student in two different weeks. Assume that n is even.

Example:

class: students 1,2,3,4

weeks: 3

  • schedule for week 1: (1,2), (3,4)
  • schedule for week 2: (1,3), (2,4)
  • schedule for week 3: (2,3), (1,4)

I figured that w has to be smaller than or equal to n – 1 because every student can maximally coöperate with n – 1 others. But I don’t know if there are always n – 1 solutions. If there are, I would like to see the algoritm that generates these n – 1 solutions in a none-brute force way.

Is there a name for this problem and a common algorithm I should look at?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:26:20+00:00Added an answer on May 23, 2026 at 2:26 am

    Sounds like it is equivalent to a round robin tournament.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a rgaph searching algorithm that searches through a graph (from point a
I'm searching for an algorithm to calculate the average distance between a point and
I want to implement a searching algorithm for sequence of words. For that i
After one week searching and converting many algorithm from other language into php to
It is known that google has best searching & indexing algorithm. The also have
I am using this python library that implements the Aho-Corasick string searching algorithm that
I am searching stemming algorithm for Slovenian language that I can use with Sphinx
I have needed to implement a string searching algorithm that finds a pattern of
I am searching for an algorithm that allow me to compute (2^n)%d with n
I'm searching for an algorithm that generates all permutations of fixed-length partitions of an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.