Jump to content
Sign in to follow this  
Numbers

Word code!

Recommended Posts

E=mc^2

 

Apparently this can be used for code purposes in creating a set of numbers .  This and several other specific designs !

 

If we take a four letter word and assign a value proportional to the number of the letter in the alphabet , we can create a set of values  by placing the numbers in a c formation .  

 

In example the word scam , values of 19 , 3, 1  and 13.  Now if we place these values in a c formation , we can x reference or by variations define a specific set of values . 

 

In the word scam in a c formation we can use a x alignment to create two values ,  3+13 and 19+1 to give the 2 values !

 

NUMBERS ! 

 

 

 

 

 

Share this post


Link to post
Share on other sites
1 hour ago, Numbers said:

E=mc^2

 

Apparently this can be used for code purposes in creating a set of numbers .  This and several other specific designs !

 

If we take a four letter word and assign a value proportional to the number of the letter in the alphabet , we can create a set of values  by placing the numbers in a c formation .  

 

In example the word scam , values of 19 , 3, 1  and 13.  Now if we place these values in a c formation , we can x reference or by variations define a specific set of values . 

 

In the word scam in a c formation we can use a x alignment to create two values ,  3+13 and 19+1 to give the 2 values !

 

NUMBERS ! 

 

 

 

 

 

19 + 1 = 20 and 3 + 13 = 16

So the codified version of scam is 2016?

 

Better question, how can you decode that?

 

Share this post


Link to post
Share on other sites

If we have 26 characters in alphabet (a-z) and no other characters, we could pack word to single number, using formula:

[math]\sum\limits_{n=0}^{n<m} x_n*26^n[/math]

Character a = 0, .... , z = 25

Word consisting of { x0, x1, ..... xn-1 }

Quantity of characters-letters is 26, therefor powering e.g. 26^1 gives completely unused area than previous 26^0, etc. where we can store the next letter of word, etc. with other powers (positive integer n>=0)

ASCII (8 bits per char) text is equivalent to:

[math]\sum\limits_{n=0}^{n<m} x_n*256^n[/math]

Unicode (16 bits per char) text is equivalent to:

[math]\sum\limits_{n=0}^{n<m} x_n*65536^n[/math]

 

Extraction of characters from such packed number can be done using pseudo-code:

Number x; // initialize it
while( x > 0 ) {
   int chr = x % 26;
   printf( "%c", chr + 'a' );
   x /= 26;
}

 

 

Edited by Sensei

Share this post


Link to post
Share on other sites
7 hours ago, Numbers said:

we can create a set of values  by placing the numbers in a c formation .  

What is a “c formation”?

7 hours ago, Numbers said:

we can x reference or by variations define a specific set of values . 

What does this mean? How exactly do you cross reference?

7 hours ago, Numbers said:

In the word scam in a c formation we can use a x alignment to create two values ,  3+13 and 19+1 to give the 2 values !

There are a very large number of ways of generating the numbers 16 and 20 so it seems impossible to decode the word

7 hours ago, Numbers said:

E=mc^2

You do t use this anywhere so why mention it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.