1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Find the mysterious function that converts an 8 digit num to a 10 digit num

  1. Mar 10, 2008 #1
    This isn't a homework question. You guys are smart so I was wondering if you could somehow figure out the mysterious function f based on a few examples:

    f(26134914) = 2085386485
    f(26288902) = 2085920342
    f(26289423) = 2094236422
    f(26356300) = 2086136115

    What is "f" doing to convert that 8 digit number to a 10 digit? I'll produce more examples if needed

    Thanks for the help
     
    Last edited: Mar 10, 2008
  2. jcsd
  3. Mar 10, 2008 #2

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    Do you understand that there exist an infinite number of functions that will give those specific numbers? And no matter how many more example you give, there always exist a infinite number of functions that will give any finite set of specific values.
     
  4. Mar 10, 2008 #3

    Gib Z

    User Avatar
    Homework Helper

    If you give us k examples, we can construct a polynomial of k+1 degree (or higher), whose coefficients will be determined by a set of k+1 simultaneous linear equations which we could solve using Gaussian Elimination. Want to try it, cuz i dont :P
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Similar Discussions: Find the mysterious function that converts an 8 digit num to a 10 digit num
  1. Significant digit (Replies: 5)

  2. FInd the last digit? (Replies: 5)

  3. Last digit, mod 8 (Replies: 1)

  4. Digital topology (Replies: 3)

Loading...