Enumerating integers n s.t. 36 | 48n

  • Context: Undergrad 
  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Integers
Click For Summary
SUMMARY

The discussion focuses on identifying integers n within the range [0, 36) such that 36 divides 48n. The key insight is that n must provide the necessary factors for 48n to include the prime factorization of 36, which is 2² * 3². The participants suggest that a more precise notation for n would be to define it as n ∈ {0, 1, 2, ..., 35}. The fastest algorithm to enumerate valid n values is derived from understanding these factor requirements.

PREREQUISITES
  • Understanding of prime factorization
  • Familiarity with divisibility rules
  • Basic knowledge of set notation
  • Experience with algorithm optimization techniques
NEXT STEPS
  • Study the properties of divisibility in number theory
  • Learn about efficient algorithms for enumerating factors
  • Explore the implications of prime factorization on computational problems
  • Investigate set notation and its applications in mathematical proofs
USEFUL FOR

Mathematicians, computer scientists, and students interested in number theory and algorithm optimization will benefit from this discussion.

Mr Davis 97
Messages
1,461
Reaction score
44
This is a simple computational question. Let ##n \in [0, 36)##. What's the fastest way to list all ##n## s.t ##36## divides ##48n##?
 
Mathematics news on Phys.org
Well first I would get a list of numbers for n where it is true and from there deduce the fastest algorithm to list them.

Alternatively, you can look at what n should be such that 48*n contains the factors of 36 namely 2*2*3*3.

so what must n provide so that the product contains the factors of 36?
 
Mr Davis 97 said:
Let n∈[0,36)
This notation is a bit odd, as it implies that n belongs to the real interval. A better way to write it IMO would be
##\text{Let } n \in \{0, 1, 2, \dots, 35\}##

jedishrfu said:
Alternatively, you can look at what n should be such that 48*n contains the factors of 36 namely 2*2*3*3.
I would probably do this first, rather than as an alternate approach.
 
  • Like
Likes   Reactions: jedishrfu

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K