So I don't really know where to post this. Sorry if it's in the wrong one.
It's not a textbook question. Basically what I'm trying to figure out is the function used to find a certain amount up to a given term, I'm not sure that's how to explain it but I will give an example:
The output is always 10 times greater than the input, So if I input 1111 from the table below I will get 11110 but It will consume the 1111, the idea is to get it as close to 10000 as possible but also within a certain amount of terms and a finite amount of resources so to speak.
1111-1230-1300-1500-1700-1900-2100-2400-2600-2800[18641 /10 ]
3200-3510-3920-4360-4800-5400-6000-6700-7400-8200[ 72,131/20 ]
9100-10100-11300-12500-13900-15400-17200-19000-21200-23500[ 225,331/30 ]
26100-29000-32300-35900-39800-42000-48900-54400-60400-67100[ 661,231/40 ]
74600-82900-92000-102300-113600-126300-140400-156000-173300-192500[1,915,131/50 ]
213900-237700-264100-293400-326020-362250-402500-447200-496900-552130[5,511,231 /60]
613500-681600-757360-841520-935020-1038910-1154350-1282610-1425130-1583460[15,824,691/70 ]
1759410-1954900-2172111-2413457-2681610-2979575-3310640-3678488-4087210-4541343[45,403,435/80 ]
Here it takes 45,403,435 resources to get to the 80th term, no matter which number is selected, the outcome will always give +10000
What I am asking for is a function that works like this but I can input a finite term and a specific amount of resources to always give me +x on whichever term is chosen
For instance, How would the function look like if I wanted 100 terms maximum but only had 400,000 resources to split it up into to gain the maximum amount of "profit" each time.
The other question I have is How would I be able to make an increasing amount up to a certain term with the same rules of
1) A certain amount of resources to start with
2) A finite of nth terms
For Instance here
309-652-1033-1456-1926-2449-3029-3674-4391-5188[24,107/10]
6073-7056-8149-9363-10711-12210-13875-15725-17781-20065[145,115/20]
22603-25423-28557-32038-35906-40205-44980-50287-56183-62734[544,031/30]
70013-78101-87087-97072-108167-111816-124548-138695-154415-171880[1,607,724/40]
191287-212849-236808-263428-293007-325872-362388-402962-448044-498135[4,842,504/50]
553792-648967-688049-764808-850095-944858-1050151-1167143-1297134-1441569[14,249,070/60]
The rules are the same with this one, the amount given is always 10x the number but the original number is consumed.
The outcome is always ~2777 resources higher depending on the previous one, So If the outcome chooses the first one, I will have roughly 3090 - 309 which is 2781, close enough to 2777. But If it chooses the second number, It will return 6520 - 652 = 5868 increasing it's value by another ~2777
I hope I have demonstrated the things needed to help me.
If you have questions about it, I might be able to give more information.
Thanks alot for looking at it! <3
It's not a textbook question. Basically what I'm trying to figure out is the function used to find a certain amount up to a given term, I'm not sure that's how to explain it but I will give an example:
The output is always 10 times greater than the input, So if I input 1111 from the table below I will get 11110 but It will consume the 1111, the idea is to get it as close to 10000 as possible but also within a certain amount of terms and a finite amount of resources so to speak.
1111-1230-1300-1500-1700-1900-2100-2400-2600-2800[18641 /10 ]
3200-3510-3920-4360-4800-5400-6000-6700-7400-8200[ 72,131/20 ]
9100-10100-11300-12500-13900-15400-17200-19000-21200-23500[ 225,331/30 ]
26100-29000-32300-35900-39800-42000-48900-54400-60400-67100[ 661,231/40 ]
74600-82900-92000-102300-113600-126300-140400-156000-173300-192500[1,915,131/50 ]
213900-237700-264100-293400-326020-362250-402500-447200-496900-552130[5,511,231 /60]
613500-681600-757360-841520-935020-1038910-1154350-1282610-1425130-1583460[15,824,691/70 ]
1759410-1954900-2172111-2413457-2681610-2979575-3310640-3678488-4087210-4541343[45,403,435/80 ]
Here it takes 45,403,435 resources to get to the 80th term, no matter which number is selected, the outcome will always give +10000
What I am asking for is a function that works like this but I can input a finite term and a specific amount of resources to always give me +x on whichever term is chosen
For instance, How would the function look like if I wanted 100 terms maximum but only had 400,000 resources to split it up into to gain the maximum amount of "profit" each time.
The other question I have is How would I be able to make an increasing amount up to a certain term with the same rules of
1) A certain amount of resources to start with
2) A finite of nth terms
For Instance here
309-652-1033-1456-1926-2449-3029-3674-4391-5188[24,107/10]
6073-7056-8149-9363-10711-12210-13875-15725-17781-20065[145,115/20]
22603-25423-28557-32038-35906-40205-44980-50287-56183-62734[544,031/30]
70013-78101-87087-97072-108167-111816-124548-138695-154415-171880[1,607,724/40]
191287-212849-236808-263428-293007-325872-362388-402962-448044-498135[4,842,504/50]
553792-648967-688049-764808-850095-944858-1050151-1167143-1297134-1441569[14,249,070/60]
The rules are the same with this one, the amount given is always 10x the number but the original number is consumed.
The outcome is always ~2777 resources higher depending on the previous one, So If the outcome chooses the first one, I will have roughly 3090 - 309 which is 2781, close enough to 2777. But If it chooses the second number, It will return 6520 - 652 = 5868 increasing it's value by another ~2777
I hope I have demonstrated the things needed to help me.
If you have questions about it, I might be able to give more information.
Thanks alot for looking at it! <3