How to pick some numbers out of 13 integers, by a 4 digits code

  • Context: High School 
  • Thread starter Thread starter robertphy
  • Start date Start date
  • Tags Tags
    Arithmetic
Click For Summary
SUMMARY

The discussion focuses on deciphering a 4-digit code that corresponds to a selection of integers from the first 13 integers (1 to 13). Participants explore mathematical relationships, such as the sum of selected integers and modular arithmetic, to identify potential solutions. Key insights include the use of binary representation and the need to enumerate possible outputs to establish a mapping between 4-digit codes and subsets of integers. The conversation emphasizes the challenge of creating a definitive mapping due to the limited number of combinations available from a 4-digit code.

PREREQUISITES
  • Understanding of basic number theory concepts, including modular arithmetic
  • Familiarity with binary representation and its applications
  • Knowledge of combinatorial mathematics, specifically subsets and counting principles
  • Ability to perform basic arithmetic operations and sums
NEXT STEPS
  • Research how to apply binary encoding to represent subsets of integers
  • Learn about combinatorial mapping techniques for finite sets
  • Explore modular arithmetic applications in number theory
  • Investigate the concept of generating functions in combinatorial mathematics
USEFUL FOR

Mathematicians, educators, students in combinatorial mathematics, and anyone interested in problem-solving with integers and codes.

robertphy
Messages
15
Reaction score
5
TL;DR
How to pick some numbers out of 13 integers, by a 4 digits code
This is the question I read in a Math quizzes book:
- you have the first 13 integers from 1 to 13
- someone gives you a code made of at most 4 digits (0 to 9)
- you decipher the code and tell him exactly which numbers he wanted from the list each number can be picked only once

For example.
case 1 He gives you 8191 and you tell he thought all the 13 integers from 1 to 13.
case 2 He gives you 6145 and you tell he thought only 1, 2, 13.
And so on.

I've not come up with any solutions yet. The only sparse ideas I have are:
case 1 if you sum the first 13 integers you get 91, so the last two digits of 8191
case 2 if you sum 1, 2, 13 you get the same result summing the digits of 6145

Also,
8191 mod 3 = 13
6145 mod 2 = 3

Beside that , I have no other clues how to move forward.
I would be grateful for some hints how to go on. Thank you very much.
 
Mathematics news on Phys.org
Hint: binary.
 
  • Like
Likes   Reactions: pbuk, hmmm27, Gavran and 3 others
If might help to enumerate how many possible outputs there are. From a pure counting perspective, is it even possible to make a map from 4 digit codes to subsets of integers between 1 and 13?
 
Office_Shredder said:
If might help to enumerate how many possible outputs there are. From a pure counting perspective, is it even possible to make a map from 4 digit codes to subsets of integers between 1 and 13?
Definite. Could fit 1/4 - 1/5 of the further ones required for a 14 element set, as well.
 
robertphy said:
I would be grateful for some hints how to go on.
Hill said:
Hint: binary.
This is a very good hint: how are you getting on?
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
966
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K