Coloring each k-th unit in a circle of n units

Click For Summary
SUMMARY

The discussion revolves around coloring every k-th unit in a circle of n units, specifically focusing on the mathematical relationship between n and k. It establishes that if gcd(n, k) = 1, all units are colored, while if k divides n, the number of colored units x equals n/k. For the case of n=10 and k=8, the number of colored units x is determined by the formula n divided by gcd(n, k), resulting in x=5. The participants emphasize the importance of understanding the gcd in this coloring problem.

PREREQUISITES
  • Understanding of the greatest common divisor (gcd)
  • Basic knowledge of modular arithmetic
  • Familiarity with circular arrangements in combinatorial problems
  • Concept of coprime numbers
NEXT STEPS
  • Study the properties of gcd and its applications in number theory
  • Explore modular arithmetic and its relevance in circular arrangements
  • Investigate combinatorial coloring problems and their solutions
  • Learn about the implications of coprime numbers in mathematical sequences
USEFUL FOR

Mathematicians, computer scientists, educators, and students interested in number theory and combinatorial mathematics.

yetam60389
Messages
2
Reaction score
0
TL;DR
N numbers in a circle, coloring each k-th one.
suppose you write, clockwise, n numbers (or "units", doesn't matter) in a circle. you then color, clockwise, each k-th number. you do this until you've colored all n numbers, or until you've reached an already colored number. let x be the number of colored numbers.
i've figured that if gcd(n,k)=1, if they're coprime, the whole circle is colored.
furthermore, if k divides n, then x=n/k.

n=10, k=7, then x=10

n=10, k=5, then x=2

tho, what if they're not?
n=10, k=8, then x=5. from where does this 5 arise?

i swear I've solved this before but i just can't find the answer within my brain now.

thanks for any help!
 
Technology news on Phys.org
yetam60389 said:
n=10, k=8, then x=5. from where does this 5 arise?
What is 10 divided by gcd(10, 8)?

You just need to generalize your analysis a bit.
 
  • Like
Likes   Reactions: yetam60389
PeterDonis said:
What is 10 divided by gcd(10, 8)?

You just need to generalize your analysis a bit.
figured it out in the meanwhile. you're right, i was quite slow in figuring that out.
 

Similar threads

Replies
4
Views
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 27 ·
Replies
27
Views
5K
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
2
Views
727
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 100 ·
4
Replies
100
Views
12K
  • · Replies 61 ·
3
Replies
61
Views
10K
  • · Replies 51 ·
2
Replies
51
Views
10K