Yeah, I of course tried interpolation polynomials, but this sequence is from combinations of cards so I think it grows with factorial speed. This is why I can't calculate more terms (program worked on 3-rd term about 44 minutes). May be we can approximate the required function with this polynomial, but I need an accurate formula.5099516x-7652070x^2+2552590x^3 will work. Can you think of others? After all, there are many polynomials that will cross (0,1), (1,36)...
As the others have indicated, there are many formulas that will give any four terms you choose for a sequence. You need to provide more information to narrow it down; where does this come from, and what connects it to combinatorics?I need to find a sequence from first 4 terms: 1, 36, 11472, 15349848, ... . It probably connects with combinatorics so there may be some factorials. Hope for help!
This is my own research about one card game, I need number of combinations of cards that works according special rules. I can't get the formula of such combinations so I tried to simulate the situation with a program. But it doesn't give me even a 5th term, it needs so much time for it. About polynomials: I know that there are some given 5th member, but it's not a simple polynomial sequence, it grows much faster (I can check the result of 5th and more terms, polynomials give much less than necessary, for example 5th number is about 61 million).As the others have indicated, there are many formulas that will give any four terms you choose for a sequence. You need to provide more information to narrow it down; where does this come from, and what connects it to combinatorics?
But it doesn't look like it will be anything known:
How did you come up with the first 4 numbers?This is my own research about one card game, I need number of combinations of cards that works according special rules. I can't get the formula of such combinations so I tried to simulate the situation with a program. But it doesn't give me even a 5th term, it needs so much time for it. About polynomials: I know that there are some given 5th member, but it's not a simple polynomial sequence, it grows much faster (I can check the result of 5th and more terms, polynomials give much less than necessary, for example 5th number is about 61 million).
If even one of the four numbers is off by one, the sequence will not be recognizable. You'd need a very accurate simulation to be able to reverse-engineer the formula.This is my own research about one card game, I need number of combinations of cards that works according special rules. I can't get the formula of such combinations so I tried to simulate the situation with a program. But it doesn't give me even a 5th term, it needs so much time for it. About polynomials: I know that there are some given 5th member, but it's not a simple polynomial sequence, it grows much faster (I can check the result of 5th and more terms, polynomials give much less than necessary, for example 5th number is about 61 million).
Program gave me the first 4 terms.How did you come up with the first 4 numbers?
Why do you think the 5th number is around 61M?
What are the special rules you are modelling for the card game?
Thank you, I made sure this is non-recognizable sequence, so I'll work on it for myself, finding some patterns or coincidences may be)If even one of the four numbers is off by one, the sequence will not be recognizable. You'd need a very accurate simulation to be able to reverse-engineer the formula.
So I'd have a lot more hope for actually working out the numbers (including letting a computer count all the possibilities, which is not what I would call a simulation). Alternatively, depending on your goal, merely approximating the counts by a formula might be reasonable.
But you're right,polynomials are not relevant here; that was just an illustration of the problem. The same could probably be done using formulas with factorials, though not as easily.