document.write( "Question 1034408: im not sure if anyone can help with this but even if im pointed in the wright direction ill be further forward.
\n" );
document.write( "i have a very old Psion 2 organizer that runs a little program that works in the following way.
\n" );
document.write( "i enter a 4 digit number and it outputs a 4 digit number.
\n" );
document.write( "what im trying to do is find out how it calculates the outputted number from the number i enter so i can write an app for my phone.
\n" );
document.write( "what i have found out so far is it only returns a four digit number using 01234567 .
\n" );
document.write( "if i enter 0000 i get 0000
\n" );
document.write( "if i enter 0001 i get 1021
\n" );
document.write( "if i enter 0002 i get 2042 (1021*2)
\n" );
document.write( "if i enter 0003 i get 3063 (1021*3)
\n" );
document.write( "if i enter 0004 i get 4004 (1021*4=4048 but because it doesnt use 8 it changes the 8 to a 0)
\n" );
document.write( "if i enter 0005 i get 5025 (4004+1021)
\n" );
document.write( "if i enter 0006 i get 6046 (5025+1021)
\n" );
document.write( "if i enter 0007 i get 7067 (6046+1021)
\n" );
document.write( "if i enter 0008 i get 0100 (7067+1021=8088 but because it doesnt use 8 it
\n" );
document.write( "changes 8's to 0's)// not sure why i end up with a 1 in that position
\n" );
document.write( "if i enter 0009 i get 1121 (no idea how i end up with that)
\n" );
document.write( "if i enter 0010 i get 1231
\n" );
document.write( "if i enter 0011 i get 0210 (1231-0210)
\n" );
document.write( "if i enter 0012 i get 3273 (no idea how i end up with that)
\n" );
document.write( "if i enter 0013 i get 2252 (3273-1021)\r
\n" );
document.write( "\n" );
document.write( "0020 is 2462
\n" );
document.write( "0030 is 3653
\n" );
document.write( "0040 is 4044
\n" );
document.write( "0050 is 5275
\n" );
document.write( "0100 is 3331
\n" );
document.write( "9999 is 3063\r
\n" );
document.write( "\n" );
document.write( "can anyone see a pattern?.
\n" );
document.write( " \n" );
document.write( "
Algebra.Com's Answer #649056 by Theo(13342)![]() ![]() You can put this solution on YOUR website! i'm not sure what the logic would be. \n" ); document.write( "however, here's a webiste that might be helpful. \n" ); document.write( "you may be able to contact the author of that webpage. \n" ); document.write( "his email is in the link. \n" ); document.write( "http://www.jaapsch.net/psion/ \n" ); document.write( "if theere is software in the machine that's doing what you are showing, then you may be able to print it out and discover what the logic is. \n" ); document.write( "give it a shot.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( " |