How Can 24 Numbers Be Compressed Into 6 or Fewer?

  • Thread starter Thread starter Hypercase
  • Start date Start date
  • Tags Tags
    Numbers
AI Thread Summary
To compress 24 numbers into 6 or fewer, one suggested method involves using a unique spacer sequence to concatenate the numbers into a single larger number. This approach allows for the reduction of the total number of numbers while maintaining the ability to reverse the process. Additionally, exploring different number bases can further reduce the length of the resulting number. The discussion highlights the importance of clarifying whether the goal is to reduce the number of numbers, the number of digits, or overall memory space. Ultimately, combining these techniques can achieve effective compression while ensuring reversibility.
Hypercase
Messages
62
Reaction score
0
How do i compress 24 numbers to something like 1 to 6 numbers.
For example consider these numbers:-
134217736
14336
16515072
-33554425
768
229376
25165825
-1073741376
16834306
16776192
-1048449
-268402704
16775169
-1336671440
1141059650
53494531
809567024
1090728001

Please help me with an algorithim that will compress these to less than 6 numbers, and that i can reverse the effect of and obtain these number back at a later stage.
Is there any other way that you can think of compressing numbers.
Thanx in advance.
-Cheers.
 
Mathematics news on Phys.org
If you work with a different number base other than 10 you will be able to shrink how long the numbers are. For example 100 in base 100 would just be 10. Just try to find a different base that will work for you.
 
heh, my compsci lecturer was talking about how she did something like that for her masters thesis, involving prime numbers :S, compressing >60 digit numbers
 
Are you trying to reduce the number of digits in each number (the number of numbers remains unchanged), or the total number of numbers (digits of no concern), or do you want to reduce the total number of digits (just reduce memory space...how , doesn't matter) ?
 
Im hoping to reduce the number of numbers.
I suppose reducing the number of digits would help too.

-Cheers.
 
Here's an approach that reduces the number of numbers by any amount you desire...but it increases the total number of digits :

append numbers to each other using a specific sequence (key) as a spacer. Choose the key such that it does not already exist among your numbers. For your numbers, say you pick the sequence 1234 (as that does not appear anywhere) as your spacer.

Now you can combine all your numbers into one giant number with several 1234s in it.

So, you'd have : 1342177361234143361234165150721234-3355442512347681234...

Now, if you wish you can switch to a higher base, to reduce the number of digits (though you'll need more types of digits).
 
Last edited:
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top