Solved

Calculating an algorithm from a set of pre generated numbers

Posted on 2014-10-01
5
184 Views
Last Modified: 2014-11-14
Hi, I have 10 different 16-digit  codes that were  all generated with a single  unknown  algorithm and  I was wondering if there is some sort of program or something that I can enter  the 10 codes into and  the program will be able to study the data and create an algorithm that fits with the data I fed it? The goal of finding the algorithm is so I can generate two more codes (I have 10 but I need 12)


Below is the 10 codes that I have (they were all originally made using an unknown algorithm)
9812040200460433
9812040200999308
9812040202831088
9812040204719773
9812040207085554
9812040208584216
9812040209296057
9812040209807048
9812040231599584
9812040238072516

Any idea on how to do this, or if it can even  be done?
0
Comment
Question by:hydrive1902
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 17

Assisted Solution

by:Thibault St john Cholmondeley-ffeatherstonehaugh the 2nd
Thibault St john Cholmondeley-ffeatherstonehaugh the 2nd earned 125 total points
ID: 40354083
After the 98120402 there could just be a random 8 extra digits. Are there more criteria that these codes need to comply with? Perhaps a checksum calculation? There isn't much to go on with just that group of numbers.
0
 
LVL 84

Accepted Solution

by:
ozo earned 125 total points
ID: 40354107
There are an infinite number of algorithms that could have generated those 10 numbers.
Without some way of judging which of them might be more likely to be your unknown algorithm,
there would be no reason to think that any other numbers generated by those algorithms would have any relation to what your unknown algorithm does.
0
 
LVL 27

Assisted Solution

by:d-glitch
d-glitch earned 125 total points
ID: 40354437
>>  There are an infinite number of algorithms . . .

And if you want to entertain yourself for hours:

1.  Try looking at the differences between successive numbers.  
     Maybe a pattern will emerge.  
     Did they come in that order, or did you sort them?

2.  Look at the list in terms of modular arithmetic.  
     Maybe all the numbers equal 193 mod 439   and   107 mod 541.
0
 
LVL 27

Assisted Solution

by:aburr
aburr earned 125 total points
ID: 40355201
An important additional bit of information would be "Did you list the numbers in the order that they were generated?"

If you did there is a way of generating two additional unique numbers from the ones listed.
Graph the last eight digits. Fit the graph with a 9th degree polynomial. Extrapolate that equation to the next two numbers.
There are several variations on this procedure which you can try (une non linear graphing)
The probability that this procedure will give you two more useful numbers depends on what you want to do with the numbers. If you just want two unique numbers, this will work. If you want to do something with the numbers the probability of useful numbers is very small.
0
 
LVL 1

Author Closing Comment

by:hydrive1902
ID: 40442193
thanks for the info!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Random Variable 2 63
Math Stumper 6 62
Why Two pairs of CAN_H and CAN_L going into One CAN Transciever ? 5 61
Calculation of speed from point A to point B. 4 62
Foreword (May 2015) This web page has appeared at Google.  It's definitely worth considering! https://www.google.com/about/careers/students/guide-to-technical-development.html How to Know You are Making a Difference at EE In August, 2013, one …
Have you ever thought of installing a power system that generates solar electricity to power your house? Some may say yes, while others may tell me no. But have you noticed that people around you are now considering installing such systems in their …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question