Find Jobs
Hire Freelancers

Mathematical Script PYTHON or GOLANG

$30-250 USD

Closed
Posted over 3 years ago

$30-250 USD

Paid on delivery
I need a maths script developed. PYTHON, GOLANG, PHP whatever u think is good Overview: Start with a random INTEGER X. If X is EVEN divide by 2 if X is ODD then Multiply by 3, then add 1 then divide by 2 so for X even X maps to X/2 and for X odd X maps to (3X+1) / 2 Part 2: we now need to do 2 things 1. compute the STOPTIME for each number in the interval entered 2. organise them into classes modulo 2 to power S. (S is the stop time) 1. the stoptime is the LEAST number of computations (iterations) required to reach an INTEGER less than X. Example: suppose X = 3 then applying the map rules we get 3 > (3.3 +1)/2 = 5 5 > (3.5 +1)/2 = 8 8 > (8/2) = 4 4 > (4/2) = 2 2 > (2/2) = 1 so the sequence generated (the trajectory) is 3 > 5 > 8 > 4 > 2 > 1 so the STOPTIME for X = 3 is 4, since it takes 4 computations for the output to first reach a number less than 3. Note: its not 5 since 5 is not the lowest number of iterations. its the least number of iterations to reach the target. Similarly for X = 7 we have a sequence 7,11,17,26,13,20,10,5,8,4,2,1 so the stop time for X=7 is 7 you can think of the stoptime S as a function of X i.e it depends on X. S(3) = 4 and S(7) = 7. Suppose our interval is 3 to 31 (increment of 4) e.g 3,7,11,15,19,23,27,31 then we can display the stop times for each X= {3,7,11,15,19,23,27,31} S(X) = {4,7,5,7,4,5,59,56} But this is the first part we now have to arrange them in classes modulo 2 to power of S. so we construct the classes for each S C[S(X)=4] = {3,19,35...} C[S(X)=7] = {7,135,263...} C[S(X)=5] = {11,43,75...} C[S(X)=7] = {15,143,271....} C[S(X)=5] = {23,55,87...} C[S(X)=59] = {27,27+2^59,27+2.2^59...} C[S(X)=56] = {31,31+2^56,27+2.2^56...} Note: its quite technical, u need to make sure no classes get duplicated they should all be DISJOINT. youll notice in the above example there is only 1 class for S = 4 but two for S=5 and S=7, this will happen but the important thing is they are DISJOINT (i.e contain no common integers) or their intersection is zero. the easieat way to find all the disjoint classes is to check from 3 up to ( 2 to power of S) - 1 e.g for S=5, we check from 3 up to 2^5 - 1 = 31 i.e from 3 to 31 we find the values 11 and 23 have S = 5. this is the only values from 3 to 31. so this means there is exactly 2 classes modulo 2^5 for S = 5. 11,43,75,107...... 23,55,87,119..... there are NO OTHERS as the first in each class will be between 3 and 2^S -1 for S = 7 we check from 3 up to 127 and again we find the following classes modulo 128 (2^7) 7,135,263.... 15,143,271... 59,187,315.... There are no others as the next one after 59 is 135 but that actually lives in the first class 7,135,263, its the 2nd element of the first class. OK so now we know how to arrange each X into different Stoptime classes modulo 2^S (S is stoptime) Now we need some meaningful data output all i need is 2 columns of output in a csv format for excel. col 1 will be the stop time and col 2 will be the number of classes for that stoptime... ill type the first few rows below S C 4 1 5 2 7 3 the first 3 rows are above... S is the stoptime and C is the number of disjoint classes modulo 2^S REQUIREMENTS ----------------------------- Enter Start End and Increment e.g Start = 3 End = 31 Increment = 4 this will calculate the stoptimes for 3 up to 31 inclusive (increment of 4) then it will compute the number of disjoint classes for each of these stop times up to 31. we output this to csv file with 2 columns as described above Note: no time wasters, i will only pay on delivery of quality work, the script must be fast and be able to handle very large numbers. you must communicate with me when needed, no ignorance or arrogance, all i want is quality work, no moaning, complaining or bad attitudes. Note: im open to other suggestions to make the script even faster so please be flexible also. PLEASE NO TIME WASTERS
Project ID: 29262230

About the project

25 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
25 freelancers are bidding on average $118 USD for this job
User Avatar
Hi, I read your project brief in its entirety and have written a script in Python following your description for computing stoptimes and disjoint classes. And believe me the script works really really fast. The script computes 3 up to 1,000,003 inclusive in increments of 4 within 6 seconds on 5th generation Intel Core i5 processor running at 2.5 GHz on Windows 10. I've listed below the results I got for range 3 up to 269 inclusive in increments of 4: S C 4 1 5 2 7 3 8 7 12 1 13 3 15 1 20 1 21 1 27 1 29 1 31 2 40 1 42 1 45 1 51 1 54 2 56 1 59 1
$50 USD in 1 day
5.0 (86 reviews)
6.7
6.7
User Avatar
Hello, how are you? I am very interested in your project. I am an expert in Python as well as Mathematics/ Physics. I have a lot of experiences in Python Programming. So I think I can help you. Please contact with me. Thanks.
$100 USD in 7 days
4.9 (118 reviews)
6.7
6.7
User Avatar
Hi I am a Full stack developer experienced with python, golang for more than 3 years. I can implement the given algorithm in python. I have few concerns like you can have do this with only one class for each S. please message so we can discuss further on this Thanks Note-please check my profile for past projects and reviews.
$225 USD in 3 days
5.0 (140 reviews)
6.2
6.2
User Avatar
Hi, I can develop this mathematical approach using python script. To make the script faster for larger numbers I will have to test and make improvements as well. Improving the speed might require multiple upgrades in code. We will start with straight forward approach and will keep improving it. If you are interested then message me. Best Regards Trinnovation Incorporate
$150 USD in 5 days
4.8 (52 reviews)
6.3
6.3
User Avatar
Hope you stay safe. I understand your requirements clearly and am interested in your project. I have rich experience and high skills of 5+ years in Python. As per your project need, I can build your project more efficiently with my knowledge and experience. I'm looking to work with you and I'm very sure that you'll feel great working with me. Please let me know at your earliest convenience. Thanks.
$200 USD in 1 day
5.0 (33 reviews)
6.2
6.2
User Avatar
Hi There...! Note : I give you 25% off on my all services. So grabs this special limited discount offer. Let’s get to the Project. I came to know that your Looking a developer which have rich knowledge about python development .you need math expert that write script for given calculations . According to your post description, you need the job done very quickly with an affordable budget. Your requirements are fully clear to me and I am applying only because I meet all the requirements that you are looking for. I have been working as a full stack python developer for more than 10 years and I know all the ins and outs of python development and customization Project should be 100% correct and Complete that will be my first guarantee service in this project. Moreover, I will be available for you for any kind of future edits and customizations. Sometimes my ten years back clients search for me till now only because of my excellent service. I am mostly in love with communication. I like to be in touch with my clients 24/7 so that they can catch me at any time when they need me. I am looking for the clear final requirements docs of your project so that I can start working immediately. If you need to discuss with me for any kind of suggestions or information, please knock me anytime. I am looking forward to hearing from you. Thanks Sohail jamil
$30 USD in 1 day
4.4 (71 reviews)
6.1
6.1
User Avatar
Dear Prospective Client, I've been developing advanced math algorithms using Python and Matlab for several years and would like to work on your project. I assure you that you will be impressed by the quality of my work as did every single client of mine. I'm looking forward to hearing from you. Yours sincerely.
$140 USD in 7 days
4.9 (18 reviews)
5.5
5.5
User Avatar
hey there. I can developed this Mathematical Script by using PYTHON. I'm an expert in mathematics, i can help you with this project confidently
$180 USD in 7 days
4.8 (33 reviews)
5.2
5.2
User Avatar
Hi, I am a python developer with more than 2 years of experience. I have worked on many projects in past. So I think I can help you. Let's discuss more over chat. Please look at my profile once.
$30 USD in 2 days
4.8 (78 reviews)
5.4
5.4
User Avatar
Hello employer, I am a 7+ years experienced web programmer with expertise in full stack and php technology. I have read your job description and I am confident that I can do this task of DEVELOPING A MATHS SCRIPT work within time and cost limit and upto your satisfaction level. kindly ping for further discussion. Thanks Akanksha
$100 USD in 1 day
5.0 (25 reviews)
5.4
5.4
User Avatar
Hi There, I do Create the best possible product, while keeping to deadlines, budgets and always creating with security in mind. Thanks
$194 USD in 5 days
4.8 (13 reviews)
5.2
5.2
User Avatar
*** MATHS SCRIPT *** I can do this in PYTHON. I am a PYTHON EXPERT. I have read your description thoroughly. I am fully capable of doing this project in the given time. I have done similar projects in the past, so it will be an easy task for me. I have more than 3 years of experience in python. Please discuss in details before awarding the project. Regards, Aniket
$90 USD in 2 days
5.0 (21 reviews)
4.7
4.7
User Avatar
Hi, I have read your description and I am very interested in doing your task. I have fully understood the requirements and can write the required program in Python. Feel free to inbox me for your task
$140 USD in 7 days
5.0 (8 reviews)
3.8
3.8
User Avatar
Hello I am very proficient in python and can code these mathematical constructs for you. Python inherently handles large numbers so i believe python would be a good choice for your task. Do connect in chat for further discussion on this. Thanks Siddharth
$140 USD in 7 days
2.8 (1 review)
5.2
5.2
User Avatar
Mathematical Script PYTHON or GOLANG Hey there, how are you? I'm an experienced programmer and have sound knowledge of Mathematics as well. I'll solve this problem using Python. Looking for the soonest reply from you. Thanks,
$150 USD in 8 days
5.0 (4 reviews)
2.6
2.6
User Avatar
I have read your needs I'm fully capable of doing it smoothly using Python Contact me and let's agree
$78 USD in 4 days
0.0 (1 review)
0.0
0.0
User Avatar
Hi, I have read your requirement thoroughly. I can do this within stipulated time. Hoping to hear from you. Regards Chandan
$111 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I can develop this mathematical algorithm using python script. I have gone through the description understood the task as well. In terms of optimization, I'll keep iterating improving it but for stating will go straight forward. I can do this task for you. I assure you there will be no time wasted if you choose me. let's discuss in chat.... Regards, Vishal
$200 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I hold a Bachelor of Science in Mathematical Statistics and Actuarial Science. I also studied Mathematics as my major. I can develop the script for you in Python.
$111 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hey there! I understand that you need to simulate some mathematical equations. I'll be happy to take up this and deliver you the script with feedback from your side. I'll be doing this in python.
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED KINGDOM
Clydebank, United Kingdom
4.9
28
Payment method verified
Member since Aug 17, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.